Thanks George - I suppose it will have to be javascript
On Mar 22, 2007, at 12:22 AM, George Ornbo wrote:
If you are using PHP you can use HTTP_USER_AGENT to sniff. Here's a
quick and dirty script. If not you can use Javascript - try
googling for Javascript sniffers. Plenty out there!
On Mar 22, 2007, at 6:59 AM, Felix Miata wrote:
On 3/22/07, Rolf Mortenson [EMAIL PROTECTED] wrote:
I've stumbled on a bug that affects Firefox on Mac (not Win), and
confirmed it in the mozilla bug logs. I've also found an apparent
fix
involving our good friend overflow: auto, but I'd
I've stumbled on a bug that affects Firefox on Mac (not Win), and
confirmed it in the mozilla bug logs. I've also found an apparent fix
involving our good friend overflow: auto, but I'd prefer to feed it
only to Firefox mac... I'm so used to targeting IE, that I can't
think of how you
Is there a way to target the parent of an element via css?
What I want to do is when an anchor is hovered, change it's parent's
background (specifically, an anchor within a td), but I can't think
of how to do that - it might not be possible.
Thanks!
I continue to try and find the best solution for aligning data in
large tables. A week or so ago Philippe suggested:
td:first-child+td+td+td {text-align:right;} will select the 4th
column in good browsers (including IE7).
For IE 6, you need to use the col element.
table
What is the optimal way to align data in a very large table? - let's
say you've got a few thousand rows, and 10 columns, and you want data
in 3 of those columns to be aligned right (the rest align left). Is
it preferable to give each td in those columns a class -- td
class=right? or is it
td:first-child+td+td+td {text-align:right;} will select the 4th
column in good browsers (including IE7).
For IE 6, you need to use the col element.
table
colgroupcolcolcolcol class=alignRightcolcol/
colgroup
col.alignRight {text-align:right;}
Note that you have to put the 2
I've been building this layout concept for a project that does
everything I want it to... almost. The basic markup is where I want
it to be, but I'm having one issue.
You can view it here: http://tinyurl.com/25r3pq
The layout is done via css, and there's a little javascript to open
and
I was just reading through the YUI documentation, and noticed in
their fonts.css the following:
body {font:13px arial,helvetica,clean,sans-serif;*font-
size:small;*font:x-small;}
What is the * doing in front of font-size and font -- or, perhaps I
should ask, what browser are they targeting
I was building a proof-of-concept for myself, and bumped into a
problem in IE that I can't seem to solve.
test page is posted here, with all css in the head: http://
tinyurl.com/ytr6qf
I've got a basic structure like this:
html
body
div id=wrapper
div id=topTop/div
div
Rolf Mortenson wrote:
I was building a proof-of-concept for myself, and bumped into a
problem in IE that I can't seem to solve.
http://tinyurl.com/ytr6qf
...in IE6, div.big gets pushed down below the floated div#togglebar.
I've tried every trick I can think of, but it won't cooperate
Easy to solve for that case, by adding...
* html .big {float: left; margin: 0 -175px 0 -10px;}
...using negative margins on floats.
However, this solution will only work when you know the (more or less
exact) element-width and how much to subtract from it.
regards
Georg
So...
Gunlaug Sørtun wrote:
It will also fail when the div is expanded, because you can't clear
below '.big'.
So, the only solution seems to be to wrap a div around everything
below
#togglebar, and float that div with a negative backside margin -
only in
IE6 and below.
Well, I built an
sorry -- that went out without a proper subject line.
Gunlaug Sørtun wrote:
It will also fail when the div is expanded, because you can't clear
below '.big'.
So, the only solution seems to be to wrap a div around everything
below
#togglebar, and float that div with a negative backside
Several months back (maybe 5 or 6 months?) there was a discussion on
the list about designing for various screen resolutions in which some
members offered their preferred page width model for different
screen resolutions - in other words, accounting for scroll bars and
typical browser
I have a specific CSS question that may actually be part of a bigger
non-CSS issue, so if anyone thinks the answer lies outside the scope
of the list, please let me know off-list.
The basic question is, if a td within a table is given the css
rule display:none; does that td exist for the
Cool technique! I don't think (on first glance) it will work in this
particular case - the programmers on the back end will cringe if I
suggest a jump to another page for the full details.
But this example:
http://www.satzansatz.de/cssd/tmp/dropitII.html
gives me an idea for letting users
I posed this question on another thread, but as Micky wisely pointed
out,
that be hijackin' a thread... so...
Could someone please explain the use of display:table-cell?
I can never seem to get my brain around the how's and why's
Like, why wouldn't you use a table instead of using divs that
I've got a module from a fairly complex page that uses some
javascript to toggle the display of a text box if a user selects
other from the dropdown menu. When the text box is displayed, it
should push everything below it further down the page, expanding the
div that contains each row of
19 matches
Mail list logo