navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

I'm going round in circles help

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Cascading Style Sheets >> I'm going round in circles help
Page: [1]
 
smilling_sam

 

Posts: 7
Joined: 7/1/2004
Status: offline

 
I'm going round in circles help - 7/1/2004 14:56:44   
Hi can someone please help

I'm trying to redo a web page and I've spent a long time learning the basics of css and trying to avoid using tables, especially tables within tables within tables lol. Anyway my page is divided into a number of sections header, left navigation, main info section in the middle and a news column on the right side very much like a 3 column design.

I'd got my round corners sorted and my pure css rollovers on the left navigation it was coming together then I hit my nemisis the Footer!!

I can't get it sussed i want it to sit at the bottom of the page no matter how much infomation is entered above it or weather the text is resized. the only way I've managed to do it recently is to define an absolute position that is below the text when it is at it's largest stage which means for all normal people it's miles away, which isn't really that good :(

I've found a number of hacks but they seem to assume that there is one large block of text and places it after this but because my text is moved and in a smaller box this doesn't seem to work. I'm sure I'm just missing something obvious but I can't see it

I've spent all day on this and have asked a number of my friends only one got a footer in the right place for me and he did that by putting everything back in tables. Which is what I thought I was avoiding lol plus that upset my left hand links.

I'm sorry if I'm not making sence I think I have lost it please can someone help
heres something to look at
http://www.finesolutions.co.uk/newsite/index5.html
thats the nearest I got
if you want to laugh at my workin to get to this point just look through from ...index.html to I think I got up to index10.html
the table version is
http://www.finesolutions.co.uk/newsite/index8.html

Can someone please look over it and tell me what I've done wrong or suggest a better way of doing it.

I sit here hopfully
and slowly rocking !

Sam
smilling_sam

 

Posts: 7
Joined: 7/1/2004
Status: offline

 
RE: I'm going round in circles help - 7/1/2004 15:19:53   
Lol now I'm replying to myself I really am mad,

anyway after posting the above question I found a message that said footers can't be positioned if the column are positioned absoluetly so I've made the main box relative this has helped alot although on server squashing of the window the footer does overlap the main colomn this is not a major problem but any comment on this point or my orginal problem would be happily recieved

Sam

Doh the address for the 2nd attempt is http://www.finesolutions.co.uk/newsite/index20.html

< Message edited by smilling_sam -- 7/1/2004 15:26:58 >

(in reply to smilling_sam)
c1sissy

 

Posts: 5084
Joined: 7/20/2002
From: NJ
Status: offline

 
RE: I'm going round in circles help - 7/1/2004 15:46:10   
Hi smilingsam, welcome to Outfront!

Try adding clear:both; to your footer and see if that helps you out.

I or myself will be in to see how you are doing. Sorry so long to reply, I have not been on much today :)

If you still have problems afterwards, I'm sure that we can try to figure out what it is. Just have patience. that is the #1 thing when learning css:)

_____________________________

Deb-aka-c4Ksissy
high panjandurum and alpha female of the silverback tribe
As decreed by Jesper 5-24-2003.
The only stupid question is... the one that is never asked!!
http://directory.css-styling.com
http://fmsforum.com
http://positioniseverything.net/
http://www.tanfa.co.uk/

(in reply to smilling_sam)
jaybee

 

Posts: 14191
Joined: 10/7/2003
From: Berkshire, UK
Status: offline

 
RE: I'm going round in circles help - 7/1/2004 19:33:27   
Well the latest one looks fine in Firefox. You've managed to do what a lot of others haven't so well done.

_____________________________

If it ain't broke..... fix it until it is.
:)

:)
GAWDS
Now where did I put that Doctype?

(in reply to c1sissy)
smilling_sam

 

Posts: 7
Joined: 7/1/2004
Status: offline

 
RE: I'm going round in circles help - 7/2/2004 5:55:27   
Excellant !

I will try the clear:both attribute I hadn't come across that one before. Thankyou both for your quick replies I've been very impressed. I'm sure I will pop back in and add to this thread when I find the next problem which as I'm starting work now probably won't be long lol oh well I'll turn the music up loud and hope it'll never happen.

Chat again soon ( but hopefully not too soon :) )

Sam

(in reply to jaybee)
smilling_sam

 

Posts: 7
Joined: 7/1/2004
Status: offline

 
RE: I'm going round in circles help - 7/2/2004 6:49:23   
ok don't worry I havn't hit a major promblem yet mainly because I've been distracted checkin my mail ect I can find loads off things to do if I have to work lol.

Anyway I thought I would see if you could answer a querry I had. It's about the roll over links down the side of my page they work quite happily in IE they don't work in opera not sure why but I thought I'd let that go. Any way as soon as I try and define the doctype IE doesn't like my roll overs. I came to the desision of not defining the doctype which seems like a cop out but hey if it works go for it lol.

So I was just wondering if anyone knew what was happening. Heres the link again

http://www.finesolutions.co.uk/newsite/index20.html
The only thing thats changed is that I've entered the doctype as

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

I have checked the code and it is valid

the page without a doctype is
http://www.finesolutions.co.uk/newsite/index21.html

it's just something for you to ponder over

right well thats enough work avoiding for me I better get down to it .

Happy puzzleing

Sam

(in reply to smilling_sam)
Giomanach

 

Posts: 6128
Joined: 11/19/2003
From: England
Status: offline

 
RE: I'm going round in circles help - 7/2/2004 7:42:12   
Sam

From what I can see you're using absolute heights for the main nav links. This means you will only see so much of it on CSS compliant browsers (eg Opera).

You need to set the height or add padding to it so that you can see the full image

Dan

_____________________________




(in reply to smilling_sam)
c1sissy

 

Posts: 5084
Joined: 7/20/2002
From: NJ
Status: offline

 
RE: I'm going round in circles help - 7/2/2004 8:49:23   
Hi Sam, I have to run out and will look over your code later on today. One thing, you state the page validates, did you do both your html and your css? Also, go through your css and make sure that you have all your t's crossed and i's dotted. Make sure you didn't leave anything out of your code. Sometimes its something really small that will cause this to go off on you.

How did the footer thing work out for you? I don't have time to check it now, but wanted you to know that I did read your post.:)

_____________________________

Deb-aka-c4Ksissy
high panjandurum and alpha female of the silverback tribe
As decreed by Jesper 5-24-2003.
The only stupid question is... the one that is never asked!!
http://directory.css-styling.com
http://fmsforum.com
http://positioniseverything.net/
http://www.tanfa.co.uk/

(in reply to Giomanach)
smilling_sam

 

Posts: 7
Joined: 7/1/2004
Status: offline

 
RE: I'm going round in circles help - 7/2/2004 9:04:56   
hi ya

I will validate the css now, but the problem had occured when both the html and the css were valid.

Dan, The A tag has a defined height of 95px and top padding of 45px. Is this problem because I'm appling this to the A tag if so I'm not sure what else i could apply the css to hmm I'll have to think about it

Sam

(in reply to c1sissy)
jaybee

 

Posts: 14191
Joined: 10/7/2003
From: Berkshire, UK
Status: offline

 
RE: I'm going round in circles help - 7/3/2004 5:35:11   
Sam, you'll need to post your css so we can see it.

_____________________________

If it ain't broke..... fix it until it is.
:)

:)
GAWDS
Now where did I put that Doctype?

(in reply to smilling_sam)
smilling_sam

 

Posts: 7
Joined: 7/1/2004
Status: offline

 
RE: I'm going round in circles help - 7/3/2004 9:01:28   
oh sorry I didn't think of that the whole css file can be found at http://www.finesolutions.co.uk/newsite/main20.css

the part conserning the links is.... ( I've added explainations so you can hopefully follow)


.slinks{
position:absolute;
top:140px;
left:0px;
width:100px;
height:500px;
background-color:#ffffcc;
text-align:center;
Font-family:"comic sans ms",arial,serif;
Font-style:normal;
Font-weight:bold;
font-size:13pt;
color:black;}
This creates the containing box

.snolink {
height:95px;
width:100px;
padding-top:45px;
background-image:url('images/untitled-2.gif');
background-position: left top;
background-repeat:no-repeat;
color:black;
text-decoration:none;
font-weight:normal;
text-align:center}

This defines the link that is inactive ie the home link when your on the home page ( I think that makes sence)

.slinks a{
height:95px;
width:100px;
padding-top:45px;
background-image:url('images/untitled-2.gif');
background-position: left top;
background-repeat:no-repeat;
color:black;
text-decoration:none;
font-weight:normal}

.slinks a:visited{
font-weight:normal;}

.slinks a:hover{
background-position:0px -105px;
color:blue;
font-weight:bolder;}

Those define the link and should mean when they are hoovered over the background images moves down so what was a green blob appears as a purple blob

The rest just defines the positioning of the links


.home{
position:absolute;
top:10px;
left:0px;
}
.products{
position:absolute;
top:105px;
left:0px;
}
.ideas{
position:absolute;
top:200px;
left:0px;
}
.contact{
position:absolute;
top:295px;
left:0px;
}

Hmm maybe if I define a height and width on these final css bits I shall go try that now

Sam

(in reply to jaybee)
smilling_sam

 

Posts: 7
Joined: 7/1/2004
Status: offline

 
RE: I'm going round in circles help - 7/3/2004 9:07:26   
nope that didn't help
hmmm
I'm off to play on the playstation and see if inspiration hits me there.
As I said earlier they work fine as long as I don't define a doctype so it's not a major problem I'm happliy not defining it lol

Sam

(in reply to smilling_sam)
Page:   [1]

All Forums >> Web Development >> Cascading Style Sheets >> I'm going round in circles help
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts