tion, but in my mind a definition list (dl,
dt, dd) wouldn't be out of the question since there is a relationship
between the texts (one translates into the other). A little float:
left action, set width for dt and dd, and some clearing would allow
you to both columnize and get the parag
On Dec 19, 2008, at 1:49 PM, David wrote:
> Is there any way to get some basic syntax highlighting with css?
It's not purely CSS, but I hear good things about the Google
Javascript code prettifier:
http://google-code-prettify.googlecode.com/svn/trunk/README.htm
as a 3px left padding rule applied to it. The other
pages you linked to don't have multiple 'rightColContainer' divs.
Jesse
__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/cs
ment . Remove one and it seems to work ok.
Cheers,
Jesse
www.thefutureoftheweb.com
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
nk with rel="lightbox" that wraps around the images has a rouge quote:
just remove the quotes:
and the page will be fixed.
Cheers,
Jesse
www.thefutureoftheweb.com
__
css-discuss [EMAIL PROTECTED]
http://www.css-d
't be inherited by #one because #one has it's own
declaration.
If, on the other hand, you were doing the following:
table #one {background: purple;}
#one {background: blue;}
you'll find that #one is purple, because the first rule is more specific.
Hope this helps,
Jesse Ski
omeone
left a comment on my blog suggesting the following technique (which is
totally great and works perfectly):
h1 {
background: url(i/branding_h1.jpg) no-repeat;
width: 650px;
height: 0;
padding-top: 180px;
overflow: hidden;
}
Try that out, it should work wonderfully.
A
Hi --
I'm trying to make a horizontal-scrolling div that contains other divs. I
can make a side-scrolling div containing images, but putting divs into the
mix always forces the line to break, even with overflow-x set to "scroll".
Easier to show than to explain; here's an example:
http://www.ge
{ position: relative; left: -20px; padding-left: 20px; }
Cheers,
Jesse Skinner
http://www.thefutureoftheweb.com/
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discu
Hi Rafael,
Try adding !important to the position: absolute. Firefox's default styles
for LEGEND include 'position: static !important', so you'll have to use
!important as well to override this behaviour.
Cheers,
Jesse Skinner
http://www.thefutureoftheweb.com
> H
s trying to solve a similar problem lately in JavaScript, dealing
with mouse events, and ended up deciding the best solution was to set a
mousemove event to the window, then calculate the mouse position to
determine whether or not it was in the destination area. Perhaps this
could hel
f rules in the
branding style sheet is stronger. I'd definitely prefer the
multiple-imports method, though.
Jesse
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
e CSS file then into smaller files, and reference
those with @includes, but personally, I'd rather just use comments in
style.css to organize it.
It's totally up to you, but I'd just try to 1) not duplicate anything
unnecessarily, and 2) try to make it as easy to maintain as possible.
.
Jesse Skinner
www.thefutureoftheweb.com
brushstreet-Duke wrote:
> Rather than a purely decorative image, couln't the standard gif to be used
> instead of the Flash, be used and downloaded? Then if the Flash is
> determined not to be used, the alternate would al
/nh_logo2005.gif);
}
Cheers,
Jesse Skinner
www.thefutureoftheweb.com
> If you look at the "new heights" logo on the upper left of the layout,it's a
> background image, but I'd like to make it clickable. Problem is, I haven't
> found a way to put that image there wi
eat the purpose -- if users had to
download such an image to test their speed, they might as well download
the flash in the first place.
Jesse Skinner
www.thefutureoftheweb.com
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss
Hi Ari,
I played around with the code, and was somewhat shocked to find this
solution:
ul { display: inline; }
Aren't lists always displayed inline? No matter, it fixes your IE6/Win
problems. I haven't tested on a Mac though, but I would image/hope it
would have no effect.
Chee
oftheweb.com/blog/2005/12/javascript-speed-detection
Good luck! Let me know how it goes,
Jesse Skinner
www.thefutureoftheweb.com
brushstreet-Duke wrote:
> I have used css for the first time to rebuild my church’s site, and love it.
> I would like to include a Flash header on the homepage,
't able to get
this to work at all.
Good luck,
Jesse Skinner
www.thefutureoftheweb.com
Bruce Searl wrote:
> to get this:
>
> http://www.thememagic.com/phototidings/testartscraps/Prod_Detail_float.asp
> (CSS no
> tables)
>
> to look like this:
>
> http://www
Susan,
As far as I can tell, it does this in Firefox and IE6 as well.
Try this to make tables inherit properly (I haven't tested in IE5):
table { font-size: 100%; }
Cheers,
Jesse Skinner
www.thefutureoftheweb.com
Susan Tilley wrote:
> IE 5x table cells (at least) incorrectly does not
dding:5px;">This is the contents. Blah blah
blah.
I'm not sure there's a way to achieve consistency without changing the
html, though.
Good luck,
Jesse
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org
tyle, but
I did find that when I added this style:
.storycontent { width: 470px; }
it fixed things by making the content thin enough that it could fit. It
doesn't affect the appearance in Firefox that I can tell.
Cheers,
Jesse
tion:absolute to the menu and anything else that goes on top
I tried to have relative-positioned nested divs within a single
absolute-position div, but this didn't seem to work. It only worked for
me when all the divs were absolutely positioned.
Good luck,
Jesse
23 matches
Mail list logo