Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Anyone know anything about HTML and CSS.

23 Aug 2013   #1

Windows 7: Home Premium
 
 
Anyone know anything about HTML and CSS.

Hey everyone,
I'm having a bit of trouble with a webpage that I'm working on. When viewed in either Chrome or Firefox it loads correctly but when viewed in IE it adds a thin white line at the bottom of the page and therefore adds a scroll bar. I'm fairly new to all this and so far have just been salvaging bits of code from online and modifying it for my site.

I have attached the two images showing how it should look and how IE displays it.

The CSS for the image is -

#messi {
height:75%;
width: 30%;
position: absolute;
left: 50%;
margin-left: -14%;
bottom: 0;
opacity:0.4;
filter:alpha(opacity=40);
}

Does anyone know why it is doing this and how I can remove it. Any help would be appreciated.

Thanks.


Attached Thumbnails
Anyone know anything about HTML and CSS.-correct.jpg   Anyone know anything about HTML and CSS.-wrong.jpg  
My System SpecsSystem Spec
23 Aug 2013   #2

Windows 7: Home Premium
 
 

Fixed it. I hadn't added the <!DOCTYPE HTML> at the start of the HTML section.

Thank you for taking a look anyway
My System SpecsSystem Spec
Reply

Thread Tools



Similar help and support threads for2: Anyone know anything about HTML and CSS.
Thread Forum
HTML question Browsers & Mail
Solved Some help with html signature please Chillout Room
html 5 Browsers & Mail
HTML in Signature Browsers & Mail
Help With my HTML Project ;) Chillout Room

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 07:57 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33