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 September 15th, 2003, 10:55 AM
iso iso is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Sep 2003
Posts: 506 iso User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 10 h 14 m 25 sec
Reputation Power: 5
can you do this with css?...a few questions..

I did some reading on css, and was able to recreate a small web project with css in a very short time. During the transition there was a few things that I had problems with that I worked around, but I am not sure if it is the most elegant solution.

1. I had to make some "tables" that have there own colord background and that have a title that consists of a picture, for the background, and then the text, that defines the menu.

The only way that I could figure out how to put the background in the menu title and have a different color for the menu background was to make them seperate...classes I guess, if that is the right word. I had a .menuZZZBody and a #menuZZZTitle.

I then had to make sure that they were positioned properly to make them fit together (one stacked on the other), by tweaking the position settings.

Is there a better way than this, I hope so.
===============

2. Inheriting properties - I tried to do what I read, but I must have been doing someting wrong, because I could not get it to work. All the menus that I had used the same format, the only thing that was unique about them was there position. Now I tried to use: #menuZZZTitle < .menuTitle or many variations of this, but it wouldn't work, so if you look at the attached text file you will see what I resorted to using.

The thing with this is that whenever I have a new title I have to add it in two places. One to define the coordinates, and also list it where I define the .menuTitle, #menuZZZTitle1, #menuZZZTitle2.

Is there a better way to do this?
============

3. Embedding different style - At first when I started I tried to seperate the font styles in the css tags and other things such as the background-color, and border properties. Then within the "table" style (all the border ps, ...) I would then try to insert the font style (css style), but as soon as I did it the text would them be removed from tge "table". SO I had to resort to clumping together the font style and the table style.

-----------

That's all my questions. I would really appreciate it if someone could help me out a little, and save me some frustration. Thanks

Attached Files
File Type: txt styles.txt (2.0 KB, 252 views)

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > can you do this with css?...a few questions..


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