CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignCSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old January 1st, 2004, 03:40 PM
CrazyTux CrazyTux is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Location: Anaheim CA
Posts: 31 CrazyTux User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 43 m 45 sec
Reputation Power: 5
Internet Explorer & css/div problem.

Hello everyone, I am currently having problems converting my tabular layout into a css/div layout. Currently I've tested it on firebird and internet explorer. It works fine in firebird, although in IE it creates a space between the top buttons, and the img header. If anyone could help me solve why this is so, I'd be very gratefull!

PHP Code:
 body
{
        
margin0;
        
padding0;
        
margin-top0px;
        
margin-left0px;
        
background#FFF;
}

#nav
{
        
width100%;
        
height33px;
        
background-imageurl('../images/main_06.jpg');
        
background-repeatrepeat-x;
}

#header
{
        
width100%;
        
height163px;
        
background-imageurl('../images/main_09.jpg');
        
background-repeatrepeat-x;



PHP Code:
<html>
<
head>
        <
title>myImgSrc.com Your online source for image hosting!</title>
        <
link href='include/layout.css' rel='stylesheet' type='text/css'>
        <
script language='JavaScript' type='text/javascript' src='include/myImgSrc.js'></script>
</head>

<body>
<div id='nav'>
<a href=''><img name='img1' border='0' width='108' height='33' src='images/main_01.jpg'></a><a href=''><img name='img2' border='0' width='105' height='33' src='images/main_02.jpg'></a><a href=''><img name='img3' border='0' width='105' height='33' src='images/main_03.jpg'></a><a href=''><img name='img4' border='0' width='105' height='33' src='images/main_04.jpg'></a><a href=''><img name='img5' border='0' width='104' height='33' src='images/main_05.jpg'></a>
</div>
<div id='header'>
        <a href=''><img width='423' height='163' border='0' src='images/main_08.jpg'></a>
</div>

<div>

<div style="float: left">
test
</div>
<div style="float: left">
testd
</div>

<div style="float: right">
test
</div>

</div>
</body>
</html> 


Also I'm not sure if it's against the form rules to link someone to a visual offsite of these forums? As I couldn't find any rules, if someone could point me toward the rules section, I'd appreciate it as well!
__________________
#!/bin/sh
cat /dev/urandom

Reply With Quote
  #2  
Old January 1st, 2004, 03:59 PM
ChiefWigs1982's Avatar
ChiefWigs1982 ChiefWigs1982 is offline
Cunning Linguist
Dev Shed God 10th Plane (9500 - 9999 posts)
 
Join Date: Jul 2003
Location: I used to live at home, now I stay at the house
Posts: 9,920 ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)  Folding Points: 50746 Folding Title: Beginner FolderFolding Points: 50746 Folding Title: Beginner FolderFolding Points: 50746 Folding Title: Beginner Folder
Time spent in forums: 3 Months 2 Weeks 6 Days 7 h 15 m 40 sec
Reputation Power: 873
Facebook
Try putting border-top:0px and border-bottom:0px in the #nav and #header style tags...
__________________
Support requests via PM will be ignored!
Sites: Route of Queue | Sinthetic - Alternative UK Hiphop
Read These: The General Rules Thread | The General FAQ Thread | NEW USERS - How to post a question

Sign up with Matched.co.uk and earn up to £15 per website every month!


Reply With Quote
  #3  
Old January 1st, 2004, 04:15 PM
CrazyTux CrazyTux is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Location: Anaheim CA
Posts: 31 CrazyTux User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 43 m 45 sec
Reputation Power: 5
No cigar .

Reply With Quote
  #4  
Old January 1st, 2004, 04:29 PM
ChiefWigs1982's Avatar
ChiefWigs1982 ChiefWigs1982 is offline
Cunning Linguist
Dev Shed God 10th Plane (9500 - 9999 posts)
 
Join Date: Jul 2003
Location: I used to live at home, now I stay at the house
Posts: 9,920 ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)ChiefWigs1982 User rank is Lieutenant General (80000 - 90000 Reputation Level)  Folding Points: 50746 Folding Title: Beginner FolderFolding Points: 50746 Folding Title: Beginner FolderFolding Points: 50746 Folding Title: Beginner Folder
Time spent in forums: 3 Months 2 Weeks 6 Days 7 h 15 m 40 sec
Reputation Power: 873
Facebook
Try...
Code:
#nav
{
   width:100%;
   background-image: url('../images/main_06.jpg');
   background-repeat: repeat-x;
   padding:0px 0px 0px 0px;
}

#header
{
   width:100%;
   background-image: url('../images/main_09.jpg');
   background-repeat: repeat-x;
   padding:0px 0px 0px 0px;
}

Reply With Quote
  #5  
Old January 1st, 2004, 04:50 PM
CrazyTux CrazyTux is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Location: Anaheim CA
Posts: 31 CrazyTux User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 43 m 45 sec
Reputation Power: 5
I got it fixed, it was the IE whitespace bug .

Thanks for your help!

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > Internet Explorer & css/div problem.


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT