Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,472
There are 1705 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     HTML/XHTML/DHTML/CSS :

Container problem :(

Thread title: Container problem :(
Closed Thread  
Page 1 of 2 1 2 >
    Thread tools Search this thread Display Modes  
10-24-2006, 10:29 AM
#1
Alex Eyre is offline Alex Eyre
Alex Eyre's Avatar
Status: Designer
Join date: Aug 2006
Location: Manchester
Expertise:
Software:
 
Posts: 1,132
iTrader: 5 / 100%
 

Alex Eyre is on a distinguished road

Send a message via MSN to Alex Eyre

  Old  Container problem :(

Hi everyone I am making a website called room202, i am trying to set the background of the container to 'fefefe' which has been done, but it is appearing 1/2px to the left, can somone suggest anything?

Link to Site:
http://www.halotree.excel-host.net/room%20202/

Regards, Alex.

10-24-2006, 11:08 AM
#2
Garyrae is offline Garyrae
Status: Request a custom title
Join date: Dec 2005
Location: Colchester, UK
Expertise:
Software:
 
Posts: 4,625
iTrader: 16 / 100%
 

Garyrae is on a distinguished road

Send a message via MSN to Garyrae Send a message via Skype™ to Garyrae

  Old

Why on Earth are you using so many divs, and absolute positioning on everything?

10-24-2006, 11:19 AM
#3
Alex Eyre is offline Alex Eyre
Alex Eyre's Avatar
Status: Designer
Join date: Aug 2006
Location: Manchester
Expertise:
Software:
 
Posts: 1,132
iTrader: 5 / 100%
 

Alex Eyre is on a distinguished road

Send a message via MSN to Alex Eyre

  Old

its the way ive been asked to do it for easy editing, do you ahve an answer to my question?

10-24-2006, 11:30 AM
#4
Garyrae is offline Garyrae
Status: Request a custom title
Join date: Dec 2005
Location: Colchester, UK
Expertise:
Software:
 
Posts: 4,625
iTrader: 16 / 100%
 

Garyrae is on a distinguished road

Send a message via MSN to Garyrae Send a message via Skype™ to Garyrae

  Old

Easy or not, it's horrid code, and yes I do.

Remove:
margin-left:1px; from div.navh

Change:
#wrapper to width:655px;

Extend the header image 1px, or reduce everything else's width by 1px.

10-24-2006, 12:10 PM
#5
Bennett is offline Bennett
Status: Narassist
Join date: May 2005
Location: USA
Expertise:
Software:
 
Posts: 4,469
iTrader: 32 / 100%
 

Bennett is on a distinguished road

Send a message via MSN to Bennett

  Old

Its easy really, you forgot a lid for your container!

10-24-2006, 12:56 PM
#6
Alex Eyre is offline Alex Eyre
Alex Eyre's Avatar
Status: Designer
Join date: Aug 2006
Location: Manchester
Expertise:
Software:
 
Posts: 1,132
iTrader: 5 / 100%
 

Alex Eyre is on a distinguished road

Send a message via MSN to Alex Eyre

  Old

thanks for the light hearted response bennet, rofl.
Thanks alot indy!

10-24-2006, 01:04 PM
#7
Alex Eyre is offline Alex Eyre
Alex Eyre's Avatar
Status: Designer
Join date: Aug 2006
Location: Manchester
Expertise:
Software:
 
Posts: 1,132
iTrader: 5 / 100%
 

Alex Eyre is on a distinguished road

Send a message via MSN to Alex Eyre

  Old

I have done this and here is the result:
http://www.halotree.excel-host.net/room%20202/

any more ideas, to me it appears the header has moved over 1px ?

10-24-2006, 01:08 PM
#8
Garyrae is offline Garyrae
Status: Request a custom title
Join date: Dec 2005
Location: Colchester, UK
Expertise:
Software:
 
Posts: 4,625
iTrader: 16 / 100%
 

Garyrae is on a distinguished road

Send a message via MSN to Garyrae Send a message via Skype™ to Garyrae

  Old

Did you even upload the modified version? It's exactly the same as it was the first time I looked at it.

10-24-2006, 01:17 PM
#9
Immersion is offline Immersion
Status: Senior Member
Join date: Dec 2005
Location:
Expertise:
Software:
 
Posts: 918
iTrader: 5 / 100%
 

Immersion is on a distinguished road

  Old

Code:
body	{
	background: url(images/bg.gif) #171616;
	background-repeat: repeat-x;
font-family: Tahoma;
	}

#wrapper{
	background-color: #fefefe;
         margin: 0 auto;
	width: 654px;
	height: 100%;
		}
img {
 margin-left: -1px;
}
Well your divs are nasty but yeah i just moved the header 1 px tot he left.
I hope you realise all your absolutes make it mess up in IE

10-24-2006, 01:46 PM
#10
Alex Eyre is offline Alex Eyre
Alex Eyre's Avatar
Status: Designer
Join date: Aug 2006
Location: Manchester
Expertise:
Software:
 
Posts: 1,132
iTrader: 5 / 100%
 

Alex Eyre is on a distinguished road

Send a message via MSN to Alex Eyre

  Old

so what should i do with the absolutes then? change some to relative?

Closed Thread  
Page 1 of 2 1 2 >


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed