| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8
<makliv> Is there a way to disable a link? So if I have <a href="x" id="nolink">foo</a> then the word foo becomes normal text <st1lgar> makliv: huh? you mean dynamically disabling it, with js for instance ? <hawkaloogie> um.. yeah, remove the href <makliv> so it can't be done in CSS? <st1lgar> makliv: i'm still not sure what you want.. <makliv> #nolink { mumbo jumbo magic... } <makliv> so that the link doesn't become a link anymore if it had the id = "nolink" <st1lgar> you could hide the link with .links { text-decoration: none; } <makliv> ok... is there a CSS rule that when applied to a link, would disable the link feature itself? it just becomes normal text <st1lgar> i don't think there is a disable attribute for links <makliv> oh... alright thank you st1lgar <st1lgar> just to satisfy my curiosity, how do you want to use such a construction ? <st1lgar> i mean, what are you trying to do ? <makliv> in a navigation bar... I have <a id="home" href="....">home</a><a id="contact" href="....">contact</a> etc... <makliv> sorry <makliv> <a cl***="home" href="....">home</a><a cl***="contact" href="....">contact</a> etc... <makliv> and if I'm in the "home" page, I would dynamically insert the word "home" in the id of the body tag <makliv> <body id="home"> <makliv> I would have a CSS rule as follows: <makliv> #home .home, #contact .contact { make this link distinctive to show the user he/her is on this page} <st1lgar> ic <makliv> the problem here is that the hover action still works, and the user can still click on the "home" link <st1lgar> do you use AJAX or something similar so you have to do it dynamically ? <st1lgar> else it's much easier to write a <span> instead of a <a> for the active page <makliv> no, I don't use AJAX (gosh, I hate this word) <frb-work> are there any good ebooks on CSS? <makliv> eric myers book <frb-work> is that the oreilly one? <chino> how do you stop an iframe from over flowing in ie ? <r0xoR> chino, overflow: none; ? <chino> i tried <r0xoR> `overflow <chino> still over flows <r0xoR> dunno then... <chino> yea <r0xoR> try not using iframes :) <chino> thanks anyway <chino> i cant <r0xoR> ... <r0xoR> why not? <r0xoR> just use a div <chino> until i figure out how to make the same look inside of a div <r0xoR> so figure it out ;) <chino> but i cant <r0xoR> but you can... you just haven't tried hard enough... obviously <chino> i have no clue how to float something to the bottom of a div <chino> yes i have <chino> float right top <r0xoR> chino, that'd be called absolute positioning <chino> for instance <r0xoR> and or <chino> is right top of the page <chino> not hte div..... <r0xoR> vertical-align; <chino> no no <chino> i just want the user list on the top right <r0xoR> float: right; vertical-align: bottom; <chino> then a input at the bottom <r0xoR> float: right; vertical-align: top; <r0xoR> or <chino> yes but float right sends it to the top right of the whole page not hte div! <r0xoR> position: absolute; top: 0; right: 0; <r0xoR> in what browser <chino> firefox <r0xoR> ... <r0xoR> that's odd <r0xoR> it shouldn't do that <chino> like is aid that also makes it go to the top right of the page <r0xoR> you've something wrong with your code then <r0xoR> no... <r0xoR> you've something wrong with your code <r0xoR> chino, abs pos and floats work correctly for me <chino> <div><span style="position:absolute;top:0px;right:0px;">Right Header</span></div> <chino> like that right ? <r0xoR> don't use a span dingbat :P <r0xoR> use another div <r0xoR> spans are inline <chino> even if i used another div <chino> yes <chino> i know <r0xoR> you must set position: relative; on the parent container <chino> whats that mean ? <r0xoR> well... you don't know what "parent container" means? <chino> but what if i want the parent container positioned diff ? <r0xoR> chino, such as... how... <chino> <div style="posistion:absolute;"><div style="position:absolute;top:0px;right:0px;">Right Top</div></div> <chino> like that ? <r0xoR> wrong <chino> i eman relative <chino> <div style="posistion:relative;"><div style="position:absolute;top:0px;right:0px;">Right Top</div></div> <r0xoR> correct <chino> thats all ? <r0xoR> that's all <chino> then i can smack things around like they are trapped in it ? <r0xoR> ... there's a caveat for IE as usual <r0xoR> but, uhh... sure <r0xoR> "smack" things around... why not <chino> <div style="position:absolute;left:0px;right:0px;"><div style="posistion:relative;"><div style="position:absolute;top:0px;right:0px;">Right Top</div></div></div> <chino> how about that ? <r0xoR> sure <chino> ok i got another qeustion for you <r0xoR> ok ask it <chino> say i have a float <r0xoR> no lets not <r0xoR> :P <chino> lol ? <r0xoR> go on <chino> ok so its floating on the right side of something <chino> its being pushed over if you know what i mean <r0xoR> i don't know what you mean by that "pushed over" comment <r0xoR> but anyway i know what a float is yes <chino> if i put a iframe or a scrolling div it constantly jerks back and forth causing a blink and this only happens as from waht i can see as a struggle between floating or absolute posistioning and source code placement <r0xoR> ... <r0xoR> i have zero experience with iframes <r0xoR> they are incompatible at best so i don't use them <r0xoR> chino, i think i remember you now... the blinker guy <chino> like for instance if i have a floating scroll div and its wrapping below something it will keep flashing <frb-work> iframes are evil <r0xoR> but when i tried it in mozilla... it didn't blink <chino> well it doesnt' matter about iframes <r0xoR> frb-work! <r0xoR> furby you're back! <chino> iframes do it too <r0xoR> ;) <frb-work> I'm always here <r0xoR> chino, show me an example <r0xoR> frb-work, lol as am i <r0xoR> frb-work, except... when i'm not <chino> ok <frb-work> I learn by osmosis <r0xoR> frb-work, hahah <frb-work> any good tutorials on real multicolumn layout? <r0xoR> frb-work, define "real" <r0xoR> frb-work, there are plenty on multi-column <frb-work> alistapart uses an image to make fake columns <r0xoR> not any on fullheight <frb-work> I want real fullheight columns <r0xoR> no, you're talking about fullheight <r0xoR> frb-work, aha <r0xoR> frb-work, you're in luck my boy :) ... i have your solution <frb-work> well, they don't have to be fullheight <frb-work> having something like... <frb-work> A B C <frb-work> D B C <frb-work> would be cool too <r0xoR> frb-work, http://151.203.108.130:5454/fixed/ <frb-work> but I only know how to do that with tables <r0xoR> http://151.203.108.130:5454/fixed/ie.html <chino> http://forsaken-reborn.dyndns.org:81/~chino/chess/view.pl <chino> use firefox to see it
Return to css or Go to some related
logs:
c++ football skate video efnet
|
|