Please Scroll Down to See Forums Below
napsgear
genezapharmateuticals
domestic-supply US-PHARMACIES UGL OZ
Raptor Labs UGFREAK OxygenPharm
napsgeargenezapharmateuticals domestic-supplyUS-PHARMACIES UGL OZUGFREAKRaptor LabsOxygenPharm

any cascading stylesheet geniuses?

i have to apply them to pages i've already created for my web design class... anyone able to help?

I would help, but you have been mean to the Dcup.:( So now you must suffer and drink tons of coffee and stay up all night:think:
 
I have to go to bed smalls, I could have helped you...shit I haven't done a CSS for along time, but I'm assuming you want to use an external stylesheet to format multiple pages right? If I remember correctly you have to relative link it to the stylesheet.css file....someone should be able to help you cause i dont have time to dig in my brain and figure it out.

Sorry dude.
 
ok my question is... basically my prof SUCKS ASS at explaining things and never leaves half of the stuff on the board in time to get it down.. so i end up with half an idea of how to do things...

now these look pretty straightforward... but i just am looking and i think i need to do embedded and external...

<link> is external... and i'm linking to what exactly? if i did a frames page... or is it just text i put in?

if i do embedded <style></style> then is that the same?

i'm probably making no sense... so if i'm not i'll just try to look stuff up...
 
External stylesheets have a .css extention. U declare all your rules in there. For example

B {font-size:22pt;color:green}

Now whenever u may a link to that style sheet all B tags will be in 22pts and have a green color. U can have hundreds of rules described in an external style sheet.

U can also create styles in your html page by one of two ways. U can use the <STYLE> tag and create your rules in there or u can use the STYLE **attibute** of a tag and create rules on the fly as u write a tag.

Remember this:
<STYLE> tag rules will override external rules if both declared
STYLE attribute will override all other rules previously created for the tag.
 
It really depends. If you're trying to get a whole site with the same feel then the rules should be in a separate document. If you just want to do one page it really doesn't matter. To learn u can mix and match but maintenance is always easier when all the rules are in one file.


Download the following free book from netscape (first pdf link). It's a decent book to start off with and it costs nothing. Will work in both browsers with a few quirks. It's what I used to give my students not to make them spend more money.

http://developer.netscape.com/docs/manuals/index.html?content=dynhtml.html
 
Top Bottom