#pageWrapper {
width:760px;
position:absolute;
left:50%;
margin-left:-380px; }
Where I would have just done:
#pageWrapper {
width:760px;
margin: 0 auto 0 auto; }
Without seeing the rest of the page or style sheet, my first guess
would be they were attempting to
On 4/30/07, Glen Lipka [EMAIL PROTECTED] wrote:
It still shouldn't crash the browser. I thought it was valid.
The span element isn't empty, so it requires a closing tag. The
trailing slash only closes empty/replaced elements.
Agreed that an improperly closed span alone shouldn't cause a
On 2/16/07, jeffrey morin [EMAIL PROTECTED] wrote:
i remember reading somewhere that you can control font size easier if you
set 1em = 65%? i don't recall exactly what the number was and i can't find
where i read it. i want to say it was andy budd but does anyone know what i
am talking about
On 2/16/07, I foolishly wrote:
1.4em = 13px
That should obviously be 1.4em = 14px, or 1.3em = 13px. Either way.
The 3 and 4 keys are very close together, you know :)
--
Craig, www.focalcurve.com
__
css-discuss [EMAIL
On 2/16/07, Rob Stevenson [EMAIL PROTECTED] wrote:
I've heard this before, and I witness the results daily since this idea
seems to have caught on widely with eCommerce template people.
But why is it important that you get a nice round number of pixels? Who
cares? And why would you want the
On 2/16/07, Willie Wilson [EMAIL PROTECTED] wrote:
Wouldn't font-size: 10px; do the same thing?
Indeed it would, but then the text wouldn't resize in IE5 and 6. Using
percentages and ems across the board keeps it scalable in those
versions, if that's important to you :)
It's 62.5% of what,
*padding:1px;
This is the lonestar hack which sends declarations only to IE5 (in
both Windows and MacOS 9, it seems).
http://www.media451.com/experiments/css/hacks/ie_star.html
_width:140px;
This is the underscore hack which sends declarations to IE5 and IE6
in Windows (fixed in IE7).
Does an element hidden with css load?
Yes.
That may be a perhaps. If hiding means visibility: hidden I believe
you are correct. But if Christy means display: none then I do know some
browsers do not download the image. I don't recall which browsers,
though. Sorry.
If element refers to
On 5/16/06, Miriam Battersby [EMAIL PROTECTED] wrote:
Why are my images not showing up and why is the H1 so BIG?
Image URLs need to be relative to the location of the style sheet, not
the web page. Add ../ in all your background image URLs to link up
one level: url(../images/filename.png), or if
On 3/22/06, Michael Warkentin [EMAIL PROTECTED] wrote:
Is there a specific reason why a border can't be applied to tr elements?
It seems kind of counter-intuitive.
Because tr doesn't really exist as a rendered element, it merely
serves to group tds and ths into a row. A tr cannot directly
On 12/1/05, Eric Porter [EMAIL PROTECTED] wrote:
I have a very curious issue happening.
I think it's a browser error but I wonder if anyone can
think of a way to prevent it.
I've seen this before and blogged it a long time ago at
On 11/14/05, bill [EMAIL PROTECTED] wrote:
Anyone know how direct IE to remove the (default ?) border it places around
images that serve as links? i.e. a href=dang.htmlimg
src=images/about-hnav.jpg alt=hey, hey, hey //a
a img { border: none; }
Translated, that means any img element which is
/* \*/
* html #tlc, * html #trc {height: 1%;}
/* */
It's actually three hacks combined with the ultimate purpose of
delivering a minimal height exclusively to IE/Win.
/* \*/ = commented backslash hack hides rules from IE/Mac, which
doesn't recognize the end of the comment because of a bug
On 9/25/05, Jeff Chastain [EMAIL PROTECTED] wrote:
table ... class=tabTable
.
tr
td class=tabFootCelltotals/td
td class=tabFootCellnbsp;/td
td class=tabFootCell24,655/td
td class=tabFootCell16,503/td
td class=tabFootCell226,232/td
[snip]
On 9/20/05, Scott Haneda [EMAIL PROTECTED] wrote:
If I have a div that is set to 120px wide, and I want to drop some text into
it, and have that text a few pixels in from the border of the div, is there
some way to do it without messing with the 120px side of things:
.foo {
width: 120px;
On 9/7/05, Pringle, Ron [EMAIL PROTECTED] wrote:
Is this possible to do?
Short answer: no.
Longer answer: It's part of CSS3, so someday in the future it'll be
possible. The only browser that supports multiple backgrounds at
present is Safari, see http://webkit.opendarwin.org/blog/?p=15.
On 8/9/05, Christian Heilmann [EMAIL PROTECTED] wrote:
I will introduce it as a best practice for my developers here, you can
do the same at your place, if more and more companies can see the
benefit of it, we may be able to collate an overall standard and make
it much easier for developers to
On 8/8/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
but I noticed when I hit refresh and rollover the butttons before they are
loaded I get a white box. Is there anyway to preload the images with css??
Try Pixy's fast rollovers, http://wellstyled.com/css-nopreload-rollovers.html
The gist:
On 8/1/05, CJ Larson [EMAIL PROTECTED] wrote:
I'm using an xhtml doctype on my pages and am not able to have table
height be 100%. When I change the doctype to an html traditional with
no url, though, the table displays correctly at the full page height.
You're observing the correct behavior
Anyways, I had a quick question to pose to people: Has anyone had any
experience with an open source content management system and implemented
standards compliant code along with it? Looking for
comments/suggestions/rants/raves...
/* Insert obligatory WordPress plug here */
WordPress -
On 6/13/05, Brian Jones [EMAIL PROTECTED] wrote:
The thing is...I don't want the line to display under the image
#sidebar a img { border-bottom: none; }
Negates the border on images within links.
--
Craig, www.focalcurve.com
Is this something that isn't possible with css? Or have I just messed up
somewhere?
Most browsers render plug-in content above everything else, regardless
of stacking order. I have yet to find a way to make HTML layer over
top of Flash. So there's nothing wrong with your CSS or markup, it's
Bah, I should learn to proofread better before I hit send...
On 6/3/05, Craig Cook [EMAIL PROTECTED] wrote:
On 6/3/05, Magenta Placenta [EMAIL PROTECTED] wrote:
THANKS!
If I use global 0 margins, won't that blow out my centering of the shell div
since I'm centering it with
margin
On 6/3/05, Magenta Placenta [EMAIL PROTECTED] wrote:
http://www.5finger.com/columns.html
If you look at this page, you'll see the dark gray (div id=shell), which
is the basic container for the columns within, has extra space below the
masthead and footer. The masthead/footer should butt right
On 6/3/05, Magenta Placenta [EMAIL PROTECTED] wrote:
THANKS!
If I use global 0 margins, won't that blow out my centering of the shell div
since I'm centering it with
margin-left:auto;
margin-right:auto;
Yes it will, so you'll have to re-declare any margins or padding on
any element that
By the way, I first learned of this global zeroing trick from Richard
Rutter, who has some general info on it at
http://www.clagnut.com/blog/1287/ as well as links to more. Worth a
read.
--
Craig, www.focalcurve.com
__
26 matches
Mail list logo