| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11
Comments:
<0> arooni: !important probably isn't needed, you just need to write a selector that matches that particular anchor. !important only comes into play if its less specific then other selectors matching that element. <1> Dorward: it is less specific <1> i can only add the cl*** to the div <0> arooni: so? <1> so i cant be more specific on the selector <1> because i'm doing it with ajax <1> so i guess i need to use important? <0> arooni: That is one way. I don't understand why you can't be more specific just because you are using Ajax. <1> Dorward: because the ajax effect im using requires a div id <1> so say i give it the id of the div which contains the li which contains the a <1> ok, well the li and a have normal styligs which normally should take effect <1> but i need to overwrite them in this case <0> arooni: And if you use the same selector as you would normally use, but add the cl*** selector, then you have a selector that is more specific. <1> well that requires some javascript tomfoolery that i dont know about <1> i mean i know how to p*** the div id in <1> but i dont know how to select the exact element
<0> Why does it need JavaScript tomfoolery? Its a CSS selector. <2> It wouldn't be ajax if it didn't need JS. ;) <1> Dorward: but in my javascript library i'm using <1> it requires an id <0> arooni: So the JS library requires an id. What does that have to do with writing a selector that matches the element? <1> Dorward: well i can write the slector that gets to that element <1> but i need to p*** a cl*** into the js function <1> and right now, i'm just doing: .bold {font-weight:bold; font-size:14px; color:#47ADE0; important!} <1> or somethign like that <1> applying that to the container div <0> arooni: The library doesn't require you to write CSS that uses an id selector, does it? Even it it does, why can't you use that id in the selector where your cl*** is involved. #foo ul a and #foo .bar ul a <0> arooni: I thought you said you were trying to match the anchor, but the cl*** is on a div? (BTW, font size in pixels is considered harmful) <1> Dorward: because you cant resize? <0> arooni: and it ignores the user's preferences <1> is this syntax wrong? <1> .bold {font-weight:bold; font-size:14px; color:#47ADE0; important!} <1> i mean .bold {font-weight:bold; font-size: 20px important!; color:#47ADE0 important!; } <1> see it will only apply the bold <1> nothign else <0> arooni: Yes. Its !important. And it still sounds like it is going to match the <div>, not the <a> <0> arooni: !important means "More specific", it doesn't mean "Force children to inherit". <1> Dorward: ah... so how should i do this then? <1> can i force a child to inherit? <0> arooni: No <1> thats sad <0> arooni: As I said, you have to write a selector that matches the anchor. <1> Dorward: are you familair with scriptaculous? <0> arooni: Only in the "Dear me, this is huge and slow I don't like it" sense. <1> how do i add underline to a text styling? <0> `css text-decoration <3> Found for CSS 2 - text-decoration - http://www.w3.org/TR/REC-CSS2/text.html#propdef-text-decoration <1> Dorward: so realy to make this work, i'd need to p*** the exact selector into the javascript <1> getting write down to the anchor <4> what's the best way to make a popup menu? I wan't to have a "tools" button next to rows in a table, and have actions for that row <5> anyone here running IE that can help me out? <5> I'm trying to test something here to see how it looks, unfortunately the hangup I'm having is how it looks in an IE browser, and I'm running linux and don't have crossover office :( <6> maybe i'll just use courier <7> browsershots ie sometimes works <8> hey, what's the best way to get into the DOM for CSS? <8> document.getElementById('foo').setAttribute('style','blah'); seems problematic <6> $('foo').style.whateverStyle = 'foo' <6> see the dom inspector for the names of attributes <6> they're different when you get at them that way <8> the firefox dom inspector? <6> yes <8> got it, thansk <8> They look the same to me.. Is it just some few are different? <9> does anyone know of a good color sampling tool? <9> I have a page I want to get the colors from <7> theres a firefox extension.. forget what its called.. little dropper in the status bar. <10> ColorZilla <8> hax: Ok, found one. borderWidth... I guess if I only want to change the 'top' border I have to get sneaky <5> I HATE IE! <5> sorry, but I just really have a lot of hatred for IE today <5> can anyone suggest the best route for making semi-transparent images work in IE? <11> PNG? <12> espresso, force the your users to use a better browsers <5> Ortzinator: yep <5> prism: not so easy <5> unfortunately, browser compliance is my responsibility <11> are you saying the png doesn't work in IE?
<5> it doesn't <11> hmm <11> link? <5> my sample: http://75.35.237.180/biohome/sample2.php <5> 3rd party sample: http://www.daltonlp.com/daltonlp.cgi?item_type=1&item_id=217 <11> why don't you use CSS? <5> I am using css <11> oh i see <5> the site looks friggin great in ff, but I have to get it to work in IE <2> Solid-form coffee? <5> hey! watch the teeth! <11> doesn't CSS have transparency? <13> http://www.mandarindesign.com/opacity.html <11> yeah <2> CSS3 will add an opacity setting. Some browsers support the current proposal already, but it's not yet a standard. <5> Ortzinator: yes, but IE doesn't support it <11> :/ <5> mattmcc: does ie6 support it? <13> No doubt they don't. <2> No, IE6 is six years old. <5> fudge <2> It can use activex filters to make PNG transparency work properly, with some caveats. <5> right, I was trying to accomplish that... <5> fortunately, MS documentation is clear as a brick wall and I was able to figure it out instantly <13> Is there a way to use traceroute data to find out a geographical location? <14> hi, does someone know why my opera displays me the font-family:Verdana,San-serif; and firefox displays another font =( <5> DigitDuke: yes there is <2> DigitDuke: You can approximate. <5> defbyte: it's "sans-serif" <13> Oh, really. Any articles or tips? <14> it works a bit but not allways <2> But it's subject to being wildly incorrect. <14> ip tunneling und such stuff.. <2> IPs whose owners aren't anywhere near the location that they're being used.. <14> that's another thing <13> But how would you get the location data? <13> Let's say I have a traceroute in front of me. <13> What do I do to it? <5> DigitDuke: Google uses IP's to approximate location data, but, as mattmcc says, it's subject to being wildly incorrect, due to tunneling and such <13> Yes, I know the accuraccy risks espresso, but how do I actually use a hostname to track down? <13> Surely, I can't go by the name only. <5> hmm... I had seen this once <2> You don't, the name is meaningless. What you're looking at is who owns the IP. <13> Yeah, the domain should give a hint. <13> But it could be anywhere still. <2> Some systems also go off databases of known locations of backbone routers. <2> No, the hostname is truly useless. <8> does min-width work on a div? <2> In browsers which support it, sure. <8> how about firefox <2> FF supports min-width. <8> then I must be doing something wrong... hmm <2> IE's the only major browser that doesn't, really. <8> gah. blah. stupid IE. <8> is there a reasonable workaround? <2> Although the way width is implemented in IE, you can consider width == min-width <8> Here is what I am trying to keep a minimum width: http://www.cs.rpi.edu/~hays/testjs/test.html <5> that's two complaints about IE in the last couple minutes <2> espresso: SOP for web design. ;) <8> mattmcc: pardon the javascript <2> Ugh, it's that ****ing game. <2> hays_: Hrm. I don't see where a min-width is being applied. <15> When forwarding domains am I able to forward to http://domain/directory? <15> or just to http://domain <8> mattmcc: to div cl*** board <16> Ok, i realise that this is probably an old chestnut, but when anayzing traceroute output, how can you determine geographical location? I know you can sometimes tell by the country code, but what about when it's a .net? <2> hays_: It's not being applied. <2> hays_: Looks like the selector you want is 'div.board', not '.board div' <5> mattmcc: HEAR HEAR <2> Er, 'div#board', sorry <5> ok kids, I'm off to the races <8> doh! you're right
Return to
#web or Go to some related
logs:
get rid of totem #perl reconfigure php5.0 debian sarge debian console 600x800 #gimp bcm gentoo howto ljbuesch /usr/lib/libc-client.so.0: undefined symbol: mm_dlog
#lisp #web
|
|