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

Closed Thread
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 June 20th, 2004, 12:16 AM
lambrite lambrite is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 52 lambrite User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 50 m 28 sec
Reputation Power: 5
I've read everything I can find and it still doesn't work!?!

Obviously something is just not clicking for me. I've spent almost all day reading, and everyone makes it sound so darn easy!

I have 2 basic problems, and it doesn't seem like they should be that hard to fix.

The test site is at
lgs.lambrite.com/test.htm and the stylesheet is lgs.lambrite.com/new.css

Problem 1. For the life of me, I cannot get the link that says "Skip To Content" to accept the more specific set of link colors. I have tried every variation I can think of, with no luck.
Code:
<div id="subnav0" style="position:absolute; width:769px; height:22px; z-index:3; top: 192px; visibility: visible;" 
class="subnav"><a href="#content">Skip to Content</a></div>


Code:
.subnav #subnav0 a:link a:visited a:hover a:active {
color: #343457;
text-decoration: none;
}



My second issue is a little more complicated. Right now, all my layers have their positions hard-coded. This means that the content area is fixed in height, and I need it to be able to expand to accomodate the text. I did this because I was not able to (figure out how to) place the many subnav layers in the same position to do the rollovers, the wrapper would not expand properly, and the footer would not regularly start below the end of the content.

Even a good example of a similar layout would be helpful; everything that I find uses 2-3 columns, float and the clear property.

I really want to understand this stuff, but if I don't figure this one out in a few days, I'm going to have to use tables and learn it the next time around. So I really appreciate any input. Thanks!

Sarah

Reply With Quote
  #2  
Old June 20th, 2004, 12:34 AM
dustyreagan's Avatar
dustyreagan dustyreagan is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Location: Austin
Posts: 126 dustyreagan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 40 m 3 sec
Reputation Power: 6
Your links don't appear to be working.

However, from your post try the following for the link color.
Code:
.subnav a:link,.subnav a:visited,.subnav a:hover,.subnav a:active {
color: #343457;
text-decoration: none;
}


I'm not sure about your second problem, at least not without being able to look at your site.
__________________
DustyReagan.com

Reply With Quote
  #3  
Old June 20th, 2004, 12:09 PM
lambrite lambrite is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 52 lambrite User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 50 m 28 sec
Reputation Power: 5
Links Corrected

Thanks -
The commas made all the difference.

Links should have been
http://lgs.lambrite.com/test.htm and http://lgs.lambrite.com/new.css

Again, I really appreciate the help.

Sarah

Reply With Quote
  #4  
Old June 20th, 2004, 05:51 PM
kk5st's Avatar
kk5st kk5st is offline
Thanks Johnny Hart (BC) R.I.P.
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: May 2003
Location: Dallas
Posts: 4,674 kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 1 Month 3 Days 15 h 15 m 50 sec
Reputation Power: 687
See this footer demo as a basis for your overall layout. Also, read the articles at Big John's 'Position is Everything' site. Yours is a simple layout and the difficulties are easily overcome. Start with Scott's basic setup and add a relative positioned banner div to hold your logo/images/dynamic menu. Follow that with the text (not in a separate div). Put your footer cdata in the footer div.

Make your additions one at a time and check the results in a CSS2 compliant browser (Mozilla/Gecko family). Once it's right in Moz, the code is good. Now check for an IE brain-fart and apply hack(s) as needed. Big John covers most of these.

Once you grok CSS positioning, you'll never want to use table layout again. CSS allows you to use clean, semantic, and well structured HTML. It's new and different to a lot of 'old hand' coders—but it's neither brain science nor rocket surgery Have fun with it.

cheers,

gary
__________________
There are those who manage to build a web site without knowing what they're doing; thereby proving to themselves they do, indeed, know what they're doing.

My html and css workshop, demos and tutorials.
Ask a better question, get a better answer.

Reply With Quote
  #5  
Old June 21st, 2004, 11:13 AM
lambrite lambrite is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 52 lambrite User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 50 m 28 sec
Reputation Power: 5
Excellent. Those both help quite a bit. Thanks!

Reply With Quote
Closed Thread

Viewing: Dev Shed ForumsWeb DesignCSS Help > I've read everything I can find and it still doesn't work!?!


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