<div> width in Opera

liunx

Guest
<!-- m --><a class="postlink" href="http://www.matts-website.net/">http://www.matts-website.net/</a><!-- m --><br />
<!-- m --><a class="postlink" href="http://www.lauramccandliss.com/">http://www.lauramccandliss.com/</a><!-- m --><br />
<br />
Both sites I did are done pretty much in the same exact way, and they look the same in IE and Mozilla. However, I just checked them in the latest Opera and there is space on the right and left outer edges. It's not a big issue, but I was wondering why it was happening and what is needed to fix it.<br />
<br />
Incase you are wondering, I know the height of the "colored line" div is different in Opera, but I already figured out the work around for it, and I just need to upload the new CSS file for the change to take place.<!--content-->Add:<br />
body {padding: 0}<br />
<br />
- niket<!--content-->I knew I read somewhere that you were supposed to use padding:0 in the body, but I couldn't remember why. I use it in stuff I work on now, but both of those sites where done around a year ago, so the padding wasn't defined in them. I even guessed about using padding:0 for a <ul> tag that looked different in Mozilla compared to IE and Opera and it worked for that as well. Sweet. Anyway, thanks.<!--content-->
 
Back
Top