im just learned css and made this site (<!-- m --><a class="postlink" href="http://www.rollingtank.com/benjoffe/client/index.htm">http://www.rollingtank.com/benjoffe/client/index.htm</a><!-- m -->). well started anyway. can someone tell me if there are any flawes in it? and why the section titled: "cost" appears different in Netscape?From your site:
<h1>Cost</h1>
<img class=picLeft border="2" src=http://www.webdeveloper.com/forum/archive/index.php/"images/eye.jpg" width="140" height="208">
<div style="float: left"><p>We know you want copies for the relatives, so we include 4 copies of your wedding videos at no extra cost. We also include a complimentary CD of digital photos from your wedding. These 鎲奿deo stills?always include magic moments missed by the photographer. You also get the digital master copy of your wedding video for safekeeping.</p>
<p><h1 style="margin-bottom:3px;">Autumn Special</h1>Book your wedding with us before the end of autumn and receive a bonus DVD! Simply mention this offer.</p></div>
the two problems I see are as follows:
1) You're floating the div left rather than right
2) the div is also containing the next header (this doesn't follow the code you have used previously...thanks, that div is supposed to be floating left as i want the autum special to be part of the cost section sort of so that cost blue bar is supposed to be half the width as usual and or the right of the picture, like it is in IE, netscape puts that and the text below the picture for some reason anyone no why?could somebody with mozilla please check it out?I haven't looked at the HTML/CSS code, but in Mozilla FireFox, it looks decent to me.
[J]onaValidate your page.
<!-- m --><a class="postlink" href="http://validator.w3.org/">http://validator.w3.org/</a><!-- m --> for the xhtml
<!-- m --><a class="postlink" href="http://jigsaw.w3.org/css-validator/validator-uri.html">http://jigsaw.w3.org/css-validator/validator-uri.html</a><!-- m --> for the css
Valid code will be easier for you to work with.As Dave said, you need to make sure it's all valid XHTML and CSS.
Also, you should use quotes on all of your attributes (<div id="navigator"> instead of <div id=navigator>). I'd also suggest using the title attribute on your links. I don't see a closing </html> tag, either.
[J]onaIt looks framiliar (<!-- m --><a class="postlink" href="http://www.csszengarden.com/?cssfile=/080/080.css&page=0">http://www.csszengarden.com/?cssfile=/0 ... css&page=0</a><!-- m -->)...Originally posted by pyro
It looks framiliar (<!-- m --><a class="postlink" href="http://www.csszengarden.com/?cssfile=/080/080.css&page=0">http://www.csszengarden.com/?cssfile=/0 ... css&page=0</a><!-- m -->)...
Wow... Never would have realized it.
[J]onaOriginally posted by pyro
It looks framiliar (<!-- m --><a class="postlink" href="http://www.csszengarden.com/?cssfile=/080/080.css&page=0">http://www.csszengarden.com/?cssfile=/0 ... css&page=0</a><!-- m -->)...
Heheh... that's pretty darn blatant, eh? Nice nab.The title picture will chagne soon to tank tracks on sand, and the color scheme will be orangy red, and I did write all the CSS myself, so I'm not ripping off their site, it was just what the client has requested it to look like.
Thankyou for those links to the validators, i will use them. Im not using XHTML, I cannot see any reason to use it, what advantages would it have on my site?You are correct that you are not using xhtml. I saw
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >
in the validator and mistook it for an xhtml document. So did the validator incidentally.
Basically no advantage for you. It doesn't really matter whether you use html or xhtml. It is easier to integrate xml into xhtml, but since you aren't using xml...am i using the correct doctype? i just copied it from somewhere else, the same with the character set, i ahve never properly understood these, could somebody please paste the correct ones i should be using for this page?what is a generic font family?Yes correct doctype.
generic font family would be like sans-serif - the computer looks at it and searches all the fonts on the computer for a sans-serif font. This means the user will not need a certain font installed.CSS-P Clones are everywhere the answer is UTF-8.
<h1>Cost</h1>
<img class=picLeft border="2" src=http://www.webdeveloper.com/forum/archive/index.php/"images/eye.jpg" width="140" height="208">
<div style="float: left"><p>We know you want copies for the relatives, so we include 4 copies of your wedding videos at no extra cost. We also include a complimentary CD of digital photos from your wedding. These 鎲奿deo stills?always include magic moments missed by the photographer. You also get the digital master copy of your wedding video for safekeeping.</p>
<p><h1 style="margin-bottom:3px;">Autumn Special</h1>Book your wedding with us before the end of autumn and receive a bonus DVD! Simply mention this offer.</p></div>
the two problems I see are as follows:
1) You're floating the div left rather than right
2) the div is also containing the next header (this doesn't follow the code you have used previously...thanks, that div is supposed to be floating left as i want the autum special to be part of the cost section sort of so that cost blue bar is supposed to be half the width as usual and or the right of the picture, like it is in IE, netscape puts that and the text below the picture for some reason anyone no why?could somebody with mozilla please check it out?I haven't looked at the HTML/CSS code, but in Mozilla FireFox, it looks decent to me.
[J]onaValidate your page.
<!-- m --><a class="postlink" href="http://validator.w3.org/">http://validator.w3.org/</a><!-- m --> for the xhtml
<!-- m --><a class="postlink" href="http://jigsaw.w3.org/css-validator/validator-uri.html">http://jigsaw.w3.org/css-validator/validator-uri.html</a><!-- m --> for the css
Valid code will be easier for you to work with.As Dave said, you need to make sure it's all valid XHTML and CSS.
Also, you should use quotes on all of your attributes (<div id="navigator"> instead of <div id=navigator>). I'd also suggest using the title attribute on your links. I don't see a closing </html> tag, either.
[J]onaIt looks framiliar (<!-- m --><a class="postlink" href="http://www.csszengarden.com/?cssfile=/080/080.css&page=0">http://www.csszengarden.com/?cssfile=/0 ... css&page=0</a><!-- m -->)...Originally posted by pyro
It looks framiliar (<!-- m --><a class="postlink" href="http://www.csszengarden.com/?cssfile=/080/080.css&page=0">http://www.csszengarden.com/?cssfile=/0 ... css&page=0</a><!-- m -->)...
Wow... Never would have realized it.
[J]onaOriginally posted by pyro
It looks framiliar (<!-- m --><a class="postlink" href="http://www.csszengarden.com/?cssfile=/080/080.css&page=0">http://www.csszengarden.com/?cssfile=/0 ... css&page=0</a><!-- m -->)...
Heheh... that's pretty darn blatant, eh? Nice nab.The title picture will chagne soon to tank tracks on sand, and the color scheme will be orangy red, and I did write all the CSS myself, so I'm not ripping off their site, it was just what the client has requested it to look like.
Thankyou for those links to the validators, i will use them. Im not using XHTML, I cannot see any reason to use it, what advantages would it have on my site?You are correct that you are not using xhtml. I saw
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >
in the validator and mistook it for an xhtml document. So did the validator incidentally.
Basically no advantage for you. It doesn't really matter whether you use html or xhtml. It is easier to integrate xml into xhtml, but since you aren't using xml...am i using the correct doctype? i just copied it from somewhere else, the same with the character set, i ahve never properly understood these, could somebody please paste the correct ones i should be using for this page?what is a generic font family?Yes correct doctype.
generic font family would be like sans-serif - the computer looks at it and searches all the fonts on the computer for a sans-serif font. This means the user will not need a certain font installed.CSS-P Clones are everywhere the answer is UTF-8.