just a suggestion..
you can apply a css style to it for eg
you use <div style=”image”></div>
and apply this style to your CSS
.image
{
clear: both;
}
hope this helps 🙂
Thread Starter
sren
(@sren)
Cool!
I’ll try it now.
🙂
thanks.
no problem. I hope it works.. =]
Thread Starter
sren
(@sren)
Opps.
Nice try. It’s giving me the same error.
It looks like the error is related to “no content” between divs. (my guess)
Hmm. maybe you can provide a link to the error or validation so that we can help?
By the way, if I’m not wrong, even if there are no content in between divs, it should not result in a validation error either. (because it does not on my site ;p)
I agree with Truth, my page also vailidates using that same basic setup.
http://www.vindictivebastard.net/blog3/
<div class=”clear”></div> <- that’s what I use to clear divs.
.clear{clear:both;} <- that’s what I got in the css file.
I’m not sure about the imagery though, being that I didn’t display any imagery in a post or test post…mmmm..
spencerp
Thread Starter
sren
(@sren)
Solved in a strange way:
Added a “p” tag before the image and at the end of the text (before the DIV and then validates)
But I can swear that I used to validate without the P tag.
Would you take a look at my blog, spencerp and any one who likes to ?
BTW as this is my first one, and I played a lot with templates, you’ll probably find some others things to fix.(besides the design LOL)
I would really apreciate any hints on fixes.
Warning: it’s in Spanish (my language)
http://www.ajedrezmundial.com
Thanks a lot.
sren, glad you got it working. =) As for the design, I actually think it’s good! =) Nice to read, easy to navigate and is just nice looking, clean and simple. =) The only thing I would just suggest to do now, is git rid of that red border around the “validate xhtml” button.
Maybe put .image or .images {border: none;} or how ever you do it lol..in the css file. =) Other then that, I didn’t try validating anything….so.. great job.
spencerp
Thread Starter
sren
(@sren)
Many thanks spencerp.
I’m really glad you liked it. 🙂
BTW I don’t see the red border in IE6, I will check with firefox now.
I’ll keep working on it.
Best regards.
Your welcome.. =) Yeah, forgot to mention that I was viewing it in Firefox…oops hehe. It’s just a tiny thin red border around it and it kinda hops when going over it lol..but it’s something simple to fix anyway lol.. =)The other one is just fine for me. =)
spencerp
I like the clean design of it 🙂
Anyway, I viewed it in firefox, I think the red border only appear when I hover over valid xhtml image.
Thread Starter
sren
(@sren)
Thanks again guys 🙂
I’m glad you liked it also Truth.
Got it, I’ve seen the problem in firefox.
Meanwhile…I’m still fixing validation on single pages.
Thanks God the blog is new with only a few post. 🙂
Thanks again.