| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Comments:
<0> l2s: you're confusing CSS and HTML <0> l2s: you need some way to identify that anchor... <1> trying to figure out what to put in the html vs what to put in the css <0> or all the elements you want to apply this style to <1> ok <0> is it just the one anchor? <1> All i want to change is the color of the 4 items in the footer <1> that are links <0> 4.. ok <1> right now its taking the color i set for the normal <p> tag <0> are they the _only_ links in the footer? <2> RTFS: not sure what that's telling me <1> and a href <1> yes <0> as in, do you want to change ALL the anchors in the footer? <1> all the links in the footer i want teh same color but different from teh body
<1> yes <0> does the footer have an ID? <1> <div id="footer"> <0> #footer a { color: black; } <1> you want me to paste the html somewhere? <0> no <1> didnt seem to work <0> obviously, adjust the styles to suit <1> #footer { <1> background-color: #134bb7; <1> font-size: 1 em; <1> color: #FFFFFF; <1> text-align: center; <1> a: color: black; <1> } <3> heh.. <3> you are doing it wrong <1> that part i got :) <3> remove a: color: black; <1> sorry im a bit new to this <3> then go to a new line <3> and put #footer a { color: black; } <1> aha <3> it should then work and i suggest you go here to learn some more about css: http://www.w3schools.com/css/css_intro.asp <1> now it worked <4> boom! <4> w3shools-- <1> sjoerd__ thats where i am <1> im doing the tutorials <1> and got a bit lost <3> that's ok just keep going :) <1> had most of it working other than overriding parts <1> one last q you dont have to tell me how to do it, but if you wanted a logo in the upper left and then text justified right on the other side of the page at about teh same level, wiht a table you would split it up into multiple cells <1> i ***ume you can do it in css as well? <3> yes use divs <1> cool, i got a header footer and some part of a body heh <1> now need a logo above the thing <3> look for float and text-align <1> great thanks <4> `float tutorial @ l2s <5> l2s, float tutorial: http://css.maxdesign.com.au/floatutorial/ , http://phrogz.net/css/understandingfloats.html <1> its getting there slowly <1> only 9 hours to get this far lol <4> l2s, I've learned enough to help some people out in here in about 12 hours ^_^... <1> smarter than i am <3> http://www.w3schools.com/css/css_syntax.asp <- this is an important part of the tutorial <1> im going straight through <4> l2s, maybe so... I have pretty high IQ <1> but was toying with this and gost lost <3> ghostssss aaaahhhhhhhhhh <1> have you seen this oddity that with a footer it leaves space on the left and right without it being specified <1> its supposed to go all the way across but doesnt <1> leaves a tiny gap on both sides <3> margin: 0; padding: 0; <3> on the footer. <4> l2s, I suggest you include this at the top of every CSS file you make: * {border:0;padding:0;margin:0} <1> ah ok <4> l2s, as for "going across but doesn't" <4> `css display @ l2s <5> l2s, css display: http://w3.org/TR/CSS21/visuren.html#propdef-display <1> the one concept i was having trouble understanding is when you keep things in #footer {
<1> and when as mentioned before use this #footer a { color: white; } <1> outside of it <1> that make any sense? <3> important hint, if you have trouble, put borders around things <3> border: 1px solid red; etc. <4> Sjoerd__, eh.. that's not a good hint! <4> `box @ l2s <4> `css box @ l2s <5> l2s, css box: http://w3.org/TR/CSS21/box.html <4> `css box @ Sjoerd__ <5> Sjoerd__, css box: http://w3.org/TR/CSS21/box.html <3> i know the box model, how is it not a good hint? <4> l2s, what do you mean? <1> pastebin crashed <4> Sjoerd__, well if your margins are the "trouble" making a border won't show it <1> is there another site to paste to so i can show you <4> l2s, http://sial.org/pbot/perl/ ..make sure you put channel to 'none' <3> Zoffix: I make use of it often, I know a lot of others do it as well ;) <1> http://sial.org/pbot/19679 <4> Sjoerd__, oh well... as they say "Everybody jerks off their own way" <4> Sjoerd__, personally I never used that <1> note the three #footer { <4> l2s, and get a free account somewhere... it's much easier to fix your problem when you have a link to the actual page instead of the pastbin.. .. http://freehostia.com offers some nice add-free accoutns <4> s/accoutns/accounts/; <1> k <3> l2s: Or set up your own server :) <1> didnt want you to fix it for me, just wanted to understand what im not getting from the tutorial site <1> i.e. what can go in the first #footer and why i need the other for the border padding etc, even though it didnt work <4> l2s, code is fine.. just put #footer and another #footer together as to avoid later confusion..... #footer a {} means <a> inside #footer <4> l2s, and #footer, a {} means #footer AND <a>.... did you read that page on selectors?? I bet you didn't ^_^ <1> i did before but not after, was trying to understand exactly what i was reading <1> if that makes any sense <1> conceptually <4> l2s, what exactly are you reading? <1> right now your post #footer {border:0;padding:0;margin:0;} <1> trying to figure out why that didnt make it flush with the page <1> edges <4> ==/ no... it wasn't #footer {} it was * {} RTFS man <4> `css selectors @ l2s <5> l2s, css selectors: http://w3.org/TR/CSS21/selector.html <1> that would do everything <1> i just wanted just hte footer <4> l2s, that's the point... <4> `css specificy @ l2s <3> it's on body now <4> Sjoerd__, * is NOT body.. if that's what you mean <3> no the margin/padding he is having trouble with are on the body <1> so basically since i didnt set the body to 0 0 0 <1> it wont go flush <1> ? <3> you can either use Zoffix method, or put it on body <1> ok <1> that did everything <3> very good :) <1> thanks i will play with the rest now <1> appreciate all the advice <3> make sure you read about the selectors and box model <1> yea im getting there slowly :) <4> l2s, hm.. I can't find a link but you need to read about "specificy"... <4> `specificy <4> hm... what was it =/ <1> i will find it <4> oh... <4> `css cascade @ l2s <5> l2s, css cascade: http://w3.org/TR/CSS21/cascade.html#cascade <1> if you guys are on a mac <1> i found a nice program that helps a lot with syntax if you want it <1> the url that is <0> what's it called? <1> style master <1> for os x <3> I only eat apples <3> and sometimes i go the the mac, although it has been a while <1> might be too simple for you guys
Return to
#css or Go to some related
logs:
#math init.d system read only file system 120sex #web #lisp susefirewall2 suse 10.1 IP6 reiserfs3 defrag blarion gnome-term e17 transparent kde taskbar fonts color
|
|