css

CSS scroll effect: overflow and position troubles

I'm trying to create a scrolling effect in pure CSS where "pages" emerge/slide over each other instead of moving in and out the screen as usually. My intention was to have a parent element which is position relative and overflow scroll. Inside of that are "windows" containing a "page". The windows have overflow hidden, and the pages are...

Unable to select a particular radio button choice by clicking on the choice text

<s:decorate template="/layout/display-text.xhtml"> <h:selectOneRadio layout="pageDirection" value="#{_userHome.pref}"> <f:selectItems value="#{_userHome.getPreferences()}" /> </h:selectOneRadio> </s:decorate> We are able to select the user p...

how to group the components to a fixed position on the screen in asp.net?

hi, i am designing an registration page in asp.net.to group the components(label, ddl and text boxes) i am using panels,but while running the page positions of components are changing. How to fix components to a particular position? thanks with regards, radha ...

-webkit-transform CSS Properties Hose Font Rendering

This question is pretty much the same as this one except that I'm seeing it exclusively in Safari on Mac (the only platform I need to care about). It's definitely CSS-related and I think I've narrowed it down to a few properties which seem to wreak havoc on the way text is rendered. They are: -webkit-transform-style: preserve-3d; -webki...

Why does adding a DOCTYPE affect my CSS?

I am wondering why the following HTML/CSS renders fine until I put a doctype in: <body style="margin:0; padding:0; background-color:#eeeeee"></body> <div id="HeaderContainer" style="background-color:#eeeeee; color:Black; border-bottom:1px solid #cccccc; height:60px; margin:0px"></div> <div style="width:100%; background-color:White; ma...

left aligning a list inside centered table

I can't get this list to align left <table width="100%"> <tr> <td align="center"> <asp:Panel ID="Panel1" runat="server" BackColor=White Height="604px" Width="493px" > <ul align=left style="left:-60px;background:Black"> <li>Coffee</li> <li>M...

Using jQuery to show/hide list items

Hi all, All of this is code is here: http://jsfiddle.net/yrgK8/ I have a "news" section which is composed of the following: <ul id="news"> <li><p>asfdsadfdsafdsafdsafdsafdsafdsafdsa</p></li> <li><p><a href="http://google.com"&gt;google.com link</a</p></li> </ul> ...

How to remove border around text/input boxes? (Chrome)

Hello. Can anyone explain how to remove the orange border around text/input boxes? I think it only happens on Chrome to show that the input box is active. Here's the input CSS i'm using: input { background-color:transparent; border: 0px solid; height:20px; width:160px; color:#CCC; } ...

CSS how to target 2 attributes?

OK if I want to target an <input> tag with type="submit" I can do so like: input[type=submit] Also if I want to target an <input> tag with value="Delete" I can do so like: input[value=Delete] But How can I target an <input> tag with BOTH? ...

Extra scroll with IE7

Hi all, I have the following website (and please excuse the language of the site, it's in Hebrew), and I apologize for posting a link here. I promise to replace the link with something generic as soon as the problem is fixed: EDIT: original site replaced with this: http://mysite.com For some reason, there's an extra scroll to the left...

Use <canvas> as a CSS background

I haven't got a practical use for this, I was just wondering if it is possible. Can I use the canvas element as a css background? ...

How simple CSS breadcrumbs work.

I am trying to imitate this tutorial about creating a simple Apple-themed breadcrumb found here: http://www.jankoatwarpspeed.com/post/2008/08/14/Create-applecom-like-breadcrumb-using-simple-CSS.aspx Even after looking at the updated example and downloading the source code from here: http://www.lostsockdesign.com.au/apple-breadcrumb/inde...

Separating the components of CSS for database entry

CONTEXT: My project is a CMS website, and each user's CSS is held in a database table. Fields are: int id primary int site_id index string selector string property string value bool important When a user's website is pulled up, it's a simple query: SELECT * FROM css_table WHERE site_id = $this_site_id ...

CSS links behaving differently in Chrome and Safari vs Firefox

currently i'm having 2 issues. first of all, in chrome and safari there is a gray border around an image link. the border isn't there in firefox. here's the code: <a href="link.html" target="_blank">Link title <img class="leaving" /></a> and css: .leaving { background-image: url("images/leaving.png"); height:10px; width:10px;...

Vertically centering an anchor within spans and li with css

I'm using jQuery tabs, and I added some spans to the tab headers so I could use a background image. Here's the markup: <ul> <li><span class='tab_outer'><span class='tab_inner'><span class='tab'><a href="#orderInfo"> Order Info</a></span></span></span></li> <li><span class='tab_outer'><span class='tab_inner'><span class=...

How to make a RESTful search button?

I need to do a search based on a term entered into a text box. Simply: user clicks something and results are returned. This is fairly straight-forward, except I'm having a bit of difficulty actually implementing it. The problem is, I want to do this as RESTfully as possible, so I don't want to create a button as follows: <input id="sea...

zoom out effects my divs alignment

[Div1][Div2------------------------][Div3][Div4] when i float this div(s) to the left it looks perfect in all the browsers just like the preview but when i try to zoom out or in with any browser every thing collapse, but in 100% browser view it looks great also i put this 4 div(s) in a container and i gave it a clear:both help will...

how to make fancy scroll

how to make fancy scroll? something like this image. ...

Using Z-index, margin not working to push div away from another

I have edited this post with my question writen in a more simple way to understand. Please see below. Some CSS I am using: #wing_right { background-image:url("../images/poppadom.png"); height:678px; margin-right:-60px; margin-left: 500px; position:fixed; right:0; top:240px; width:387px; z-index:50; } Easier ver...

Why is there a need to add outline to CSS? Is outline redundant to the existing ones?

Today I notice outline propery in CSS. However I don't know why it is added to CSS? What for? For me, margin, padding, border is enough. ...