Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Old 03-23-2008, 02:25 PM Border problems
Novice Talker

Posts: 11
Trades: 0
I am having a problem with the borders on my page in IE. The right border goes to far to the right. I have tried padding, margin, etc but it doesn't work.

Heres an image of the page in firefox:
http://i295.photobucket.com/albums/m...ltM16/test.jpg

And heres an image of the problem in IE:
http://i295.photobucket.com/albums/m...M16/testie.jpg

Heres the HTML CODE:

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

<html>

<head>

<link rel="stylesheet" type="text/css" href="default.css">

<!--[if IE]>
<link rel="stylesheet" type="text/css" href="ie.css" />
<![endif]-->

</head>

<body>



<div id="page">

<div id="banner" >

<img class="banner" src="banner.jpg" width="700" height="150" alt="Banner">

</div>

<hr />

<div id="navc">

hello

</div>

<div id="content">

hello

</div>

</div>

</body>

</html>
And heres the CSS FOR IE:


Code:
body {background-color: #333}


div { color: white;}


hr { border: 1px solid white;}


#page {

margin-left: 350px;

border: 2px solid white;

position: absolute;

}


#banner {

text-align: center;

margin-right: 700px;

}


#navc {

text-align: center;

border-right: 2px solid white;

border-top: 2px solid white;

padding: 10px 40px 300px 40px;

font-weight: bold;

color: blue;

position: relative;

text-decoration: underline;

top: -9px;

margin-right: 1300px;

}


#content {

margin-left: 120px;

top: 170px;

position: absolute;

padding-right: 100px;

}
Thank You,

AssaultM16
AssaultM16 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-23-2008, 05:03 PM Re: Border problems
Junior Talker

Posts: 1
Name: Michael
Trades: 0
What windows are you using..

Not saying this is the problem but its a thing to think about.

Windows Vista was released too early as you may know. It got released with too many bugs and Microsoft is finding it so hard to keep up with supplying updates for internet explorer on windows Vista.

Viewing a webpage on internet explorer for the first time is fine.. If that page has been edited a few times your internet explorer will not show the updates if you are using Vista. Even if you delete cookies delete history it will still not help.. You need to visit the Microsoft website for the update. It will just throw the banners and frames all over the place. So if you are using Vista get the update

If your not using XP then above does not apply
I will have a look at the code now but just though i would say it so everyone knows if ppl didnt already

Best Regards
__________________

Please login or register to view this content. Registration is FREE

Speedy is offline
Reply With Quote
View Public Profile
 
Old 03-23-2008, 06:13 PM Re: Border problems
Novice Talker

Posts: 11
Trades: 0
Oh thank you Speedy! That why when I modified something it didn't show, Thank you very much!.

On my second thought I will wait for people to tell me what they think, I would like to be 100% sure.

Last edited by AssaultM16; 03-23-2008 at 06:16 PM..
AssaultM16 is offline
Reply With Quote
View Public Profile
 
Old 03-23-2008, 09:14 PM Re: Border problems
Novice Talker

Posts: 11
Trades: 0
I was searching for the latest IE and it is IE 7 which I have, so maybe IE isn't the problem?
AssaultM16 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Border problems
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.25718 seconds with 12 queries