I have the following html:
<dl>
<dt>Item 1</dt>
<dd>
<ul>
<li>Value 1</li>
</ul>
</dd>
<dt>Item 2</dt>
<dd>
<!-- this item is missing a value -->
</dd>
<dt>Item 3</dt>
<dd>
<ul>
<li>Value 1</li>...
I need to create some buttons for a web app. However, I have no graphics/Photoshop skills at all. Is there a website/software out there that I can simply enter the text for my button and it will spit out a graphical image with those words on top?
I don't mind avoiding graphics altogether, but the links must look like a button. e.g. a b...
In my web app I use the following CSS to provide notices/error messages:
#notice {
border: 1px solid green;
padding: 1em;
margin: 1em;
margin-bottom: 2em;
background-color: lightgreen;
font: bold sans-serif;
color: darkgreen
}
But when a notice isn't required, I want to have white space equal to the amount of spac...
Hi,
I have a page with some controls, usercontrols etc.
when I change a div from plain <div id="foo"> to a <div id="foo" runat="server">
the layout complete changes.
why is that?
and how can I prevent it?
I'm using 2.0 .net framework
Is it because .net changes my id, which obviously I don't want?
...
For my html form, it seems that I'm unable to create cross browser hover and pressed states for <button>.
I really want this as it creates good user feedback (and a polished look and feel). With <a> it's easy to do, but it breaks accessibility rules.
What should I do?
As requested, an example:
<form name="contact" action="index.php"...
I have multiple styles such as button_50 where the width is 50px, button_75 where the width is 75px, and so on...
Is there a way to dynamically generate the length of the button based upon the length of the text, so I probably would just have to create one style like button and I can apply that to any button and it would shrink or stret...
In CSS, how can I do something like this:
width: 100% - 100px;
I guess this is fairly simple but it is a bit hard to find examples showing that.
...
Hi, wondering if anyone knows if it is possible to target line-break tag with css. Basically all I want to do is have a 1px dashed line every-time there is a line-break. I am customising a site with my own css and cannot change the set html, otherwise I would use some other way. I don't think it is possible but maybe there is a way someo...
I need html/css text editor, that is:
free
quick (no java or like)
no wisywyg
can autocomplete attributes and styles
i write <script type="", autocomplete should show me list with text/javascript
I like Notepad++, but cant find smart autocomplete for it, as in visual studio.
Windows or Linux, no Mac please
...
hi guys
here is the html code that is giving me problem in IE7
<div style="position:absolute;top:276px;left:194px;" class="drag layer_3">
<img class="deleteitem" height="12px" width="12px" title="Remove" src="/static/redclose.png" style="float:right;cursor:pointer;">
<img src="/static/18.png" >
</div>
this is how it is supposed to ...
I have the following 3 column layout:
<div id="outerwrap">
<div id="innerwrap">
<div id="centerc">...</div>
<div id="rightc" style="font-weight:bold">
</div>
<div style="background-color:White;height:10px;top:284px;left:0px"></div>
<di...
I am trying create a new css for shaping my detailsview. But i couldn't reach to second td in detailsviews field rows. do you have any idea to access 2nd td?
But please imagine belov code generated by detailsview.
<table>
<thead>
...
</thead>
<tbody>
<tr>
<td>Name</td>
<td><input type='text' id='txtName' /></td>
...
It's the year 2009. Internet Explorer 8 has finally been released, and Firefox is coming up to 3.5. Many of the large browsers are starting to integrate features from CSS3 and HTML 5, or have been doing that for quite a while now. Still, I find myself developing web pages exactly the same way I did back in 2005.
A lot of progress has b...
I have my fonts set in my style.css (http://turquoisegrotto.com/style.css) and my website still seems to use sans serif. What is the problem here? My site: http://turquoisegrotto.com/
...
I have a very simple page like this
!!@#@ apparently I cant add link to my page on jsbin since new users aren't allowed to add links.
I want to have certain amount of gap between different options provided to the user (say 15px).
Code I have is following:
<div id="question" >
What month is it?
<div style="padding-right: 15...
With this little bit of CSS, my form buttons now look flattened (2D) and I quite like the look:
input {
border: 1px solid #999;
}
However, for file fields (select file to upload), the button is still 3D. And then the border goes all around that button and the text next to it.
I tried fixing this problem by renaming input to .input,...
I have a link, where I want to change the color of the text away from the color that I set for hyperlinks. My code is:
<span class="button"><%= link_to "Create new scenario", :action => "create" %></span>
And my CSS is:
a:link {
color:rgb(50%, 15%, 5%);
text-decoration:none;
}
.button {
-moz-border-radius-bottomleft:6px;
...
Hello all,
I have a panel sitting in a div, and I want to use that panel as a container to add more panels! Why would I want to add a panel to a panel? Because the panel that I'm adding to the existing panel, is also made to contain objects, but only and image and label.
The existing master container panel is created during design time...
I have a list and I need two sections in each item. I also need the first section to be of fixed width. How should I code it?
I've tried using definition lists:
<dl>
<dt style="width: 2em;">foo</dt><dd>bar</dd>
...
</dl>
... and user lists with span:
<ul>
<li><span style="width: 2em;">foo<span>bar</li>
...
what i am trying to do is show both background color and background image half of my div will cover right shadow background image and other lef part will cover background color but when i used backgorund image color disappear
...