CSS - Is there a way to get rid of the selection rectangle after clicking a link?
Is there a way to get rid of the selection rectangle when clicking a link which does not refresh the current page entirely? ...
Is there a way to get rid of the selection rectangle when clicking a link which does not refresh the current page entirely? ...
I know it's bad to use HTML Tables for everything... and that tables should be used only to present tabular data and not to achieve some style goal. My question is, how do you make HTML forms with CSS so they look nice and aligned like when using tables? ...
I am hoping to find a resource for lining up input elements in a HTML page. I find it difficult to get a select element and a text box to be the same width even when using the width style attribute, and it is even more difficult across browsers. Finally, file inputs seem impossible to get to the same width cross browser. Are there any go...
Sorry if this sounds like a really stupid question, but I need to make a link change color when you are on the page it links to. For example, when you are on the "Questions" page of stackoverflow, the link at the top changes color. How do you do this? ...
In a nutshell, there's a global stylesheet: a { font-family: Arial; } I want to use a different font family for a particular link: <a href="..." style="font-family: Helvetica;">...</a> or <span style="font-family: Helvetica;"><a href="...">...</a></span> but nothing works. Is there an easy way to do this? P.S. I'm dynamically (...
Internet explorer 6 seems totally ignore CSS classes or rules on select, option or optgroup tags. Is there a way to bypass that limitation (except install a recent version of IE) ? Edit : to be more precise, I'm trying to build a hierarchy between options like that example: Here's the HTML snippet : <select name="hierarchicalList" mu...
Leaving aside the question of whether you should serve single or multiple stylesheets, assuming you're sending just one, what do you think of this as a basic structure? /* Structure */ Any template layout stuff should be put into here, so header, footer, body etc. /* Structure End */ /* Common Components*/ Repeated elements, such as...
I have an internal web app with an image at the top of the page, currently containing some english text with drop shadows. I now need to provide localized versions of this page for various languages. My main choices are: Have a different graphic per supported language, containing the localized text. Use CSS to position localized text o...
How does one go about establishing a CSS 'schema', or hierarchy, of general element styles, nested element styles, and classed element styles. For a rank novice like me, the amount of information in stylesheets I view is completely overwhelming. What process does one follow in creating a well factored stylesheet or sheets, compared to ...
Code and preview: <html> <head> <title>Testing some CSS</title> <style type="text/css"> .dDay { font-size:205% } .dMon { font-weight:bold; font-variant:small-caps; font-size:130%; margin-top:-.7em; } .detailContainer { vertical-align:middle; display:table-cell; padding:0em 0em 0em 1em; } #dContainer { ...
A table row is generated using an asp:Repeater: <asp:repeater ID="announcementsRepeater" OnItemDataBound="announcementsRepeater_ItemDataBound" runat="Server"> <itemtemplate> <tr id="announcementRow" class="announcementItem" runat="server">...</tr> </itemtemplate> </asp:repeater> Now in the data-bind i want to mark "unread"...
i need to compress my css as part of my ant build. i noticed that csstidy does this, but it would not be easy to include this in my ant build because i would need to use a different binary on different platforms. so, is there a java css compressor that people use? ...
Given a stylesheet with a fully qualified reference to an image resource on another server, is there a good way to handle promotions through different environments that require a different base URL? background-image: url (evironmentSpecificURL/resourceName.foo); The environmentSpecificURL will vary from environment to environment...
Hi, I have a simple "accordion" type page containing a list of H3 headers and DIV content boxes (each H3 is followed by a DIV). On this page I start with all DIVs hidden. When a H3 is clicked the DIV directly below (after) is revealed with jQuery's "slideDown" function while all other DIVs are hidden with the "slideUp" function. The ...
I was developing a web page, where I was laying out a board for a Chess-like game, along with a couple of piece trays. It's all done using HTML (with jQuery for dynamic updating as the game is played). Somewhere I'd got the notion that using absolute positioning of elements within a page was considered a bad practice, and that it was pre...
I want to create a simple box with a header bar containing a title and some tool buttons. I have the following markup: <div style="float:left"> <div style="background-color:blue; padding: 1px; height: 20px;"> <div style="float: left; background-color:green;">title</div> <div style="float: right; background-color:yellow;">t...
Quick question. What do you think, I have a few sites that use a 3 level drop-down menu that will be broken if IE8 released with its current CSS standards in IE8 beta2. So do I take the time to redo those drop downs now? I realize that the way they rendered CSS changed completely between beta 1 and 2, but 2 was/is supposed the be a gene...
I am writing a website with Visual Studio 2008 and ASP.NET 3.5. I have a masterpage set up to simplify the layout and to keep the content pages for content rather than content and layout. The navigation is list, css'd so it looks like a bar. In order to highlight the page on the bar, the list item needs to look like this <li id="curren...
Hi, I've just got a fresh Drupal 6 install. The css didn't work. Then I realised that a "?U" was appended, and Drupal couldn't find it. Does anyone know where to unset this? <link type="text/css" rel="stylesheet" media="all" href="/modules/node/node.css?U" /> <link type="text/css" rel="stylesheet" media="all" href="/modules/system/...
Hi, I am wondering if someone can put a bit of an authoritative reference summary of when the !important declaration in CSS does not work to override inline styles. ...