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.

CSS Forum


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



Reply
CSS Site Lists And Layout Being A Pain
Old 12-31-2007, 05:57 PM CSS Site Lists And Layout Being A Pain
Novice Talker

Posts: 5
Name: Corey
Trades: 0
Hello everyone Ive been trying to get this new site im making for my art working, and up until now things were going fine.

First take a peek at the design which i just finished last night in photoshop:
http://ersp.in/random/overspin_design.jpg

And here is where the code is sitting right now:
http://ov.ersp.in/template/default/

I was lacking creativity so my design is based off of one i found at free css templates (i bring this up to give credit where its due):
http://www.freecsstemplates.org/temp...iews/deserted/

Okie dokie, on to the problem. Ive been working on getting the basic css coding done for the design, so i can move on to the php backend im going to be building for this thing. But ive hit a few minor, and a good major snag.

First one is in IE6 everything goes all haywire. I know i probably did something rather retarded to cause it, happens all the time. but then theres the navigation menu. I want to have a .png semi transparent bg pop up underneath the list items as you roll your mouse over them. I know basically how to do it, but i can't get the list items wide enough to fit the bg image.

I know a basic way of doing it, but the only way i know how would mean making a separate class for each link. Im just not talented enough to figure these two small things out.

Any help would seriously rock. And thank you ahead of time in case i forget to say that later
Ov.erSp.in is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-01-2008, 08:20 AM Re: CSS Site Lists And Layout Being A Pain
Average Talker

Posts: 29
Name: Jean
Trades: 0
Hi,

To make your items wide enough :
- use no margins/paddings on your ul, nor on your li's
- display : block; and padding on your links. Display block will make them all the width available, and padding (not margin) in order to push their content away from the left side.

Oh, and a "conditionnal comment" css file for ie6 (if still needed) with * {zoom : 1;} could do the trick.
MarvinLeRouge is offline
Reply With Quote
View Public Profile
 
Old 01-01-2008, 04:51 PM Re: CSS Site Lists And Layout Being A Pain
OSWebMaster's Avatar
Super Talker

Posts: 136
Name: Scott Frangos
Trades: 0
Hi Corey -

First... great visual design. When you get it going, I am sure it will serve you well. Marvin gave you some recommendations... did you try them yet?

I have a couple of questions:
  • The original free template uses a stylesheet (default.css), but in your new design you are linking to a new sheet (close_the_door.css), PLUS the old one (default.css). Why do you want to link to both?
  • About the transparent bg on the nav. links -- did you mean you want them like on the original template, or another way (is there an example you can point to)?
I'll take another look later.

Yours -
Scott
__________________
Scott A. Frangos, Technical Writer & BlogMaster
- Blog Services:
Please login or register to view this content. Registration is FREE

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

OSWebMaster is offline
Reply With Quote
View Public Profile
 
Old 01-01-2008, 06:15 PM Re: CSS Site Lists And Layout Being A Pain
Novice Talker

Posts: 5
Name: Corey
Trades: 0
Thanks marvin ill try that here in a minute (finshing up the first of the php scripts right this second).

and OSweb, while im using the original deserted template as a base, all of the design and coding are being created by my hands. I remade my version in photoshop, and now im doing all my own coding by hand.

And the reason for the two style sheets is that i am working on a php script that will change which of those extra style sheets (close_the_door.css) is displayed depending on what time it is. This way the photo of mine used to created the bg of the design changes over time, instead of staying as one photo. Kind of a way to show off some of my work in the design of my site along with the gallery script im making.

As for the transparent part of the nav links, yea how the original deserted site has it where when you hover over the links the bg appears, but mine are semi-transparent .png files.
Ov.erSp.in is offline
Reply With Quote
View Public Profile
 
Old 01-01-2008, 07:52 PM Re: CSS Site Lists And Layout Being A Pain
jdfreelance's Avatar
Skilled Talker

Posts: 88
Name: Joseph Dickinson
Trades: 0
Ummm, the navigation doesn't go well especially the rollover background. Make it something that will stand out.

Good luck.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
// PHP/MYSQL/XHTML/CSS/FLASH/JAVASCRIPT/VBSCRIPT
jdfreelance is offline
Reply With Quote
View Public Profile
 
Old 01-01-2008, 09:06 PM Re: CSS Site Lists And Layout Being A Pain
Novice Talker

Posts: 5
Name: Corey
Trades: 0
ok got the rollover working and changed the bg for the rollover a bit as well. Also got some of the main content area done, and also got secondary styles for IE for the png files.

Still have that problem in IE6 though where theres a small amount of space between the header and the lower area. Still can't figure out why its doing that.

Oh and thanks a whole lot to everyone who helped
Ov.erSp.in is offline
Reply With Quote
View Public Profile
 
Old 01-02-2008, 04:14 PM Re: CSS Site Lists And Layout Being A Pain
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Well, for one thing IE does NOT support the XHTML 1.1 Doctype, drop it back to 1.0.

2 - take the *html hacks for IE OUT of the main CSS file because IE7 will choke on them. Use conditional comments to call a separate IE 'fixes' only css file.

3 - that 'mysterious' space is coming from the font sizing on the H1 in the header. If you adjust that to something smaller, you'll see the gap disappear. You shouldn't use pt for font sizing anyway, pt is for PRINT, better to use em or %.
You'll probably have to play with the sizing, margins and padding to get what you want and avoid that gap.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

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


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

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to CSS Site Lists And Layout Being A Pain
 

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 0.60717 seconds with 12 queries