|
|
||||||
|
||||||
| Index Link To US Private Messages Archive FAQ RSS | ||||||
| Graphics & Design Discussion Forum Post your graphics design questions/comments/ideas in here. Ask questions, post tutorials, discuss trends and best practices. Sub-forum for website accessibility and usability. |
Share Thread: & Tags
|
||||
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
I am sorry to keep botherin everyone. but his shouldnot be a problem but it is.
here is my homepage code (really basic. so far) Code:
<head> <title>Seo services and website promotion</title> <link href="mainstylesheet.css" rel="stylesheet" type="text/css"> </head> <body> <a href="http://ranktips.com"> [img]logo.jpg[/img]</a> <table summary="free SEO services" height="90%" bgcolor="#FFFFFF" cellpadding="15" cellspacing="0" style="border: solid 5px darkblue;" align=center width=80%> <tr> <td> <h1>Directory</h1> <hr color="darkblue" size="4"> <h1>Directory List</h1> Submitting to Directories is a crucial part of Search Engine Optimization. Here is a High-Quality list of Directories. All of these directories have been checked and are SEO friendly.</p> <hr color="darkblue" size="4"> <h1>Articles</h1> Read up on SEO on the articles page. Read various SEO articles. If you need the basics check out SEO 101 in the articles page.</p> <hr color="darkblue" size="4"> <h1>Forum</h1> Visit a High-Quality Forum. Talk about Domain Names, Search Engine Marketing, Selling Domains, Buying Domains, Advertising, Free Domain Giveaways, a Directory and much more...</p> </td> </tr> </table> Code:
<style type="text/css">
p {color: blue }
a {color: black}
h1 {text-align: center}
</style>
|
|
|||
|
I can think of a number of things to mention based on the code you posted, but as far as your question... what red paragraphs?
If you mean the blue paragraphs, try removing the <style> tags from your external stylesheet. A an external stylesheet should be css only, not html. the opening tag is disrupting the p selector. Some other notes you may or may not be interested in, but they could save you trouble later: You need a doctype declaration There should only be one h1 on a page Although it's well supported, hr's don't have a color attribute. Use your stylesheet for that. I don't understand why this is a table. Regardless, tables don't have a height attribute. Even if they did - and you can set a height in css - I don't understand what you want your table height to be 90% of. |
|
|||
|
thank you. it was very helpful. i got the
color fixed how could i do that without a table? how do i use css for the hr? and how do i type up a doc dec. |
|
|||
|
Quote:
#freeseoservices {background-color:#fff;border:solid 5px #00008B;margin:0 auto;width:80%;padding:15px;} Quote:
hr {background-color: #00008B; height:4px;} Quote:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> |
|
|||
|
thank you. everything worked.
there is a slight problem with the hr though it has a small gray border around it |
|
|||
|
Quote:
Older versions of IE did use the color property but I just checked IE6 on my machine and background-color works. Firefox/Mozilla have always used background-color. |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
WebProWorld |
Advertise |
Contact Us |
About |
Forum Rules |
MVP's |
Archive |
Newsletter Archive |
Top |
WebProNews
WebProWorld is an iEntry, Inc. ® site - © 2009 All Rights Reserved Privacy Policy and Legal iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509 |