Help me replace this code, both me and Resharper don't like it:
<table width="100%">
<% for (int row = 0; row < 10; ++row) {%>
<%= "<tr" + ((row % 2 == 0) ? " class='even'" : "") + ">" %>
...
</tr>
<%}%>
</table>
...
The text inside those divs http://ada.kiexpro.com/html/photo.html get out of place when they are displayed in IE7?
Thanks in advance.
...
I read about many CSS related languages and tools which need ruby.
What is the purpose of these
languages and tool how these can save
time and improve our CSS coding.
What is the role in ruby language in
these languages and tool.
Will i have to install and learn
ruby language to use these languages and tool.
will i need ruby installed ...
How do I set the "inner border" - the border between different cells.
By setting style attributes I manage to control the outer border, but the inner border just stays the same gray color and the same width. What attributes should I tweak to control the inner border?
...
Hi to all and PLS HELP
I have next menu: http://health-fitness-news.info/menu/. The links from the list have PNG background images. All browsers work fine except IE6.
I found a script which resolves this problem in IE6 but doesn't work at mouse HOVER. When the mouse is over the link the bg image doesn't have transparency.
What should I d...
I set a div to height:100px; width:50px, but when the content of the div is changing dynamically, I want to let the height adapt to the change.
What should I do?
...
I have a simple CSS problem
In this site http://web.cinaird.se/pdf/test.htm (<--removed) I have a draggable images in the top content, I want a span that float on top of the image and for this I need a span containing the image and a span floating on top. So long no problem but now when i drag the image it hides outside the top conte...
Hi,
I've been trying to get this horizontal navigation sorted for the past few hours now and nothing is working. I've tried reset.css stylesheets, *{padding: 0; margin: 0) etc. and I still have gaps inbetween my image links.
You see, the navigation is made up of an unordered list of image links displayed inline, but there are gaps in b...
I have an accordion side menu in my latest project that works in all modern browsers properly, apart from ie8.
In Ie8, using the menu and clicking results in random padding and margins to be added and sometimes disappear for no apparent reason. I can't find any bit of jquery code that would potentially cause this to happen which is a p...
Hello,
Apple has disabled the overflow CSS aspect in mobile Safari so it is not possible to scroll inside a fixed height div. This is quite annoying.
While making an iPhone native app, is it possible to access WebKit settings to turn that feature on ?
...
First of all, why use a frame set in the first place you ask?
answer: Because my boss told me.
That been said, I have 2 files. Index.html and Head.html.
Contents of index.html:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/frameset.dtd">
<html>
<head>
<meta h...
I'd like to set vendor styles with Javascript, something like this:
elem.style.mozBorderRadius = '5px';
Is this possible? If so, how?
...
browsing some html code I find a text input coded as:
<input type="text" name="Email<%=orderRow.ID %>_<%=i %>" class="{email: true}" />
but need help understanding what's happening with the class declaration. It's not part of hte .net-ness of the page, right - lack of '<%' and '%>' is telling me that. But I haven't seen an object used...
I am having a big trouble positioning my dropdown menu on below URL (Internet Explorer 7 problem only):
http://tinyurl.com/y7v2qj9
When hovering the menu, you will see that the drop down appears behind the image. This doesn´t happen in IE8 or Firefox, only in IE7. I think it must be related to a specific bug which i am unaware of, can´...
Hi,
I'm looking at http://agilewebsolutions.com/support. As you can see, the text h2 and h3 all have an engraved effect giving it a 3d look. How is this accomplished? I couldn't dig it out of the code. Any help would be appreciated.
...
So i created a web site a long time ago using a designer alot like frontpage + expression design put together, and since then Ive gotten more into coding, and I'm learning html, CSS, and all that good stuff.. and i have this re-designed header that Ive made here:
http://prntscr.com/8zct
So what I need to know, is how i can get it...
I have one horizontally div on the top of my page with a height of 50px.
And now I want to put another div right below it which will fill the rest of entire page (should work with any kind of resolution).
Does anyone know how to do this only with CSS?
I'd appreciate any help. Thanks!
...
Is there any possibility to make a link or a button to close the current page? Like I have this:
<div id="arrows">
<a href="It works"><div id="arrow_left"></div></a>
<a href="It works too"><div id="arrow_right"></div></a>
<a href="??? =("><div id="arrow_close"></div></a>
</div>
And this if it's necessary th...
i want a specific sort of coll span like this C stands for Row/Coll-spanned
|-------|
| | C |
|-------|
| C | C |
|-------|
for more clarity this is the code of a simple coll-span and image
<table>
<tr>
<td colspan='2'> </td>
</tr>
<tr>
<td></td><td></td>
</tr>
</table>
gives
|-------|
| C | C |
|-------|
| | |
|-------...
i got this css stylesheet code
#nav li ul {
position: absolute;
visibility: hidden;
float: none;
top: 42px;
left: 0px;
width: 150px;
margin: 0;
padding: 5px 10px 6px 10px;
z-index: 10000;
border: 1px solid #C0ACB2;
border-bottom-width: 2px;
border-bottom-color: #AF9DA3;
border-top: 0;
...