Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [css]

CSS (Cascading Style Sheets) is a representation style sheet language used for describing the look and formatting of HTML (HyperText Markup Language), XML (Extensible Markup Language) documents and SVG elements including (but not limited to) colors, layout, fonts, and animations. It also describes how elements should be rendered on screen, on paper, in speech, or on other media.

css
321 votes
8 answers
410k views

Can I have multiple background images using CSS?

Is it possible to have two background images? For instance, I'd like to have one image repeat across the top (repeat-x), and another repeat across the entire page (repeat), where the one across the ...
Rudd Zwolinski's user avatar
1 vote
1 answer
4k views

Templates or css skins for the asp.net membership login control?

I want to style the asp.net membership login control and I am too lazy to handcraft a professional looking one. I couldn't find ready made css styles for the login control. Are there any available on ...
Abdu's user avatar
  • 16.4k
2 votes
7 answers
727 views

What's your favorite JS/CSS drop down menu? [closed]

Looking to implement one on a website, just curious what everyone else has used and what kind of experiences they've had EDIT I'm also not a huge fan, but the client is insistant and for this case ...
Andrew G. Johnson's user avatar
2 votes
5 answers
9k views

How do you put a gradient background on ASP.NET menu items?

The boss wants the master page's menu to look nicer. I generated my gradient file with one of the tools available on the net, no problem there.. I tried to make a CSS class for each menu item but ...
David's user avatar
  • 900
6 votes
6 answers
2k views

How do you organise CSS in your project? [closed]

One of the most challenging thing I have felt while working on (complex) web application is the organizing the CSS.Here are the different approaches we have tried on multiple projects. 1: Have a ...
MOZILLA's user avatar
  • 5,950
4 votes
8 answers
1k views

CSS Performance issues

What are the aspects of style sheets (CSS) that can lead to poor performance of web sites? Anything that can really choke up the CPU? thanks in advance. Sesh
Sesh's user avatar
  • 6,134
1 vote
4 answers
7k views

Why does IE7 when clearing a float result in a margin bug?

I have a very simple HTML page (validates as XHTML 1.0 Strict): <div class="news-result"> <h2><a href="#">Title</a></h2><span class="date">(1-1-2009)</span&...
Kamiel Wanrooij's user avatar
4 votes
8 answers
10k views

Superscript underline in IE

I'm going to be brief because I'm short on time, so I apologize if this isn't as detailed as I'd like it to be. I have some code: print("<a href='#'>Some text<sup>&reg;</sup> ...
Blair Scott's user avatar
  • 1,875
2 votes
2 answers
1k views

Forcing a description widget to wrap

I am trying to get a description in a XUL application to wrap, even if it contains long lines. For example, if I save the following as a .xul file and open it in Firefox, it looks fine and wraps ...
Bonnici's user avatar
  • 1,606
2 votes
1 answer
659 views

XHTML/CSS: Why does Firefox mess up my horizontal tab menu?

Problem page Stylesheet Any idea how to make this work in Firefox? (It appears as if the right tab image is being pushed below the link, as if there weren't enough room for it within the anchor ...
user avatar
3 votes
4 answers
3k views

What is the best font to apply to a print stylesheet?

When developing a print stylesheet for a web page, what fonts are recommended for use? I was using Times New Roman, but it looks kinda bland. What have you used before? IIRC they say serif fonts ...
alex's user avatar
  • 487k
5 votes
9 answers
1k views

How can I fix the CSS on my website so large images don't overflow their container?

I have a really cool website that allows people to upload images. Sometimes there images are really large, as seen in the below div: ![Overflow][1] Is there a style that can I add to my DIVs to fix ...
0 votes
4 answers
879 views

Can i have more then one css file on my html file?

I am using the django framework and am using templates, inheriting a lot of admin base templates. What am wondering is: can I have more than one CSS file in one HTML file? i.e. maintain the django ...
gath's user avatar
  • 25.2k
12 votes
2 answers
30k views

How to right align a <p> tag?

I have a couple of <p> tags that I want to right align. Does anyone know how to do this?
Xaisoft's user avatar
  • 46.3k
0 votes
1 answer
182 views

How can i put a flash animation in the header of a movable type 4.2 site?

Im creating a new site i a i want a flash animation in the header of my page, im using Movable Type 4.2. The problem is i don't know how can i do that, and which file i need edit, or if i can do all ...
danielgomezdidier's user avatar

15 30 50 per page