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
ownedandout

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
ownedandout

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
Thread Forum
html advice
hi guys, been building a website for a friend who makes flash games and I have got it for the most part but when using Internet Explorer to play games which rely on the up/down arrow keys, the page begins to scroll aswell as the action being undertaken in the game. The flash is in focus and the...
Chillout Room
HTML signature
Windows Live Mail 2009 There used to be a tutorial about how to set up an image signature file in Windows Mail. I cannot find it. Furthermore, I need instructions on how to do it in Windows Live Mail. I cannot find a tutorial on this subject either. I went as far as entering the image...
Browsers & Mail
HTML Space?
Hi, Does nayone know how to put a space in using HTML? I know of &nbsp; i would like a bigger space I would like to put spaces equal to about 2 tabs Regards,
Chillout Room
html 5
hi all just want to know how you could see if your browser uses html 5 ?? thanks saakeman
Browsers & Mail


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 17:14.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App