Hi,
Under ie7 i have a strange problem on textareas.
When i type something in and push enter a space seems to be added instead if making a new line.
It seems to be CSS related since when i remove Javascript the bug is still there.
And when i remove CSS it works as expected.
When i remove all mentions of textarea in my styling the bu...
I have an interest in web development, but currently I'm working in vc++ & c++ embedded.
I would like to quickly learn & start some type of web project. I would like to do the following:
Set up a web page that can be viewed over the Internet.
Get my data stored in some type of database on my local pc.
Can you suggest the language or...
When I click on a link, most browsers draw a dotted box around it. It's easiest to see if the link is opened in a new window, since the original page sticks around.
Can this be stopped?
...
I'm using SIFR 3.0 in combination with suckerfish popup menus. I only want to SIFR the top level li's and not apply the effect to the nested ones. I'm also using WordPress, so restructuring the menu, like wrapping the parent in a <div> or other object is too hard (I'm still figuring out the basics of WordPress).
Is there a way to turn S...
Is there any way, how to make rounded HTML <select>, without using any javascript?
I have this insane design and I have absolutely no idea how to do it only with CSS.
The same problem is with checkbox and radiobutton. Does anybody know how to make them rounded?
I need solution that works for IE6+, Firefox 2+, Opera 9+ ...
...
When you increase the line-height of an element, you start getting gaps between each line of text. Most of the time this is fine, since you don't see the specific gap.
But it is problematic when you have a narrow column, with a link that runs over multiple lines. If you move your mouse over the link, there is a small gap between the lin...
So I made myself a little html/css template. And now I'm trying to actually use it with some PHP code however, it only renders text. The images and css arent there. Everything is in the templates/Default directory. Do i have to do something funky with my paths in the template?
...
Hi,
Is it possible to detect browser font size? Also is it possible to dedect new font size when user changes the font size from menu selection?
Many thanks for everybody help.
Best regards.
...
My other question about layout the text correctly on the webpage. I would like to write RSS code and then use XSL to format the RSS into HTML
My question:
Why the text of the ITEM DESCRIPTION run out of the margin of the webpage? HOw to force that piece of text maintain inside the margin?
My XML CODE:
<channel>
.......
<descriptio...
I have a table in which in one column some content is initially hidden, but appears on hover. The problem is that on hover the content then resizes that column's width and distorts the table.
How can I set the column to not resize itself without setting table layout: fixed or setting a width.
The table layout fixed causes columns to si...
I have an AJAX chat system that I'm working on and so far I have it working. One thing I want to do is have it so when the user name is displayed on screen, it is a unique color (like in an AIM window). How would I generate a random color to assign to the user's name for the particular session they are logged in for?
The color would hav...
I'm having two major issues on my site:
1) A series of links is cutting off the left edges of the menu items and also seemingly transposing characters from other items in the list
2) I'm having a massive font-size jump: anything between 2em and 3.95em are identical in size, but the moment it steps above that the size jumps hugely.
I r...
Sadly, CSS outline isn't supported in IE7, so i'm stuck using border. But adding a border to any element on the page takes up room and possibly shifts the page.
If i'm adding a 2px border, then I set a -2px margin, it sill isn't perfect, as list items move to the left, and "margin:auto" really screws with it.
You can see examples here:...
Is there a way to make divs side by side?
I want the layout
------------
|Header div|
------------
| | |
|ul|iframe |
| | |
But if the iframe is visible:hidden/collapsed the <ul> will take all the space
------------
|Header div|
------------
| |
|ul |
| |
If I make the ul float left, then the...
Hi,
when you click on the reddit register button, a nice window pops up and the rest of the screen goes blackish. you can click on the rest of the screen to close the pop up.
I know I could use the outermost div for this, but is that how reddit does it? are they changing the attributes of that outer div on the fly also?
...
I have this as my CSS styling. My #pg_wrap is not centering with the background image when the browser window is resized. The screen shot I have is when you reduce the browser window less than 1344px than the #pg_wrap width (the width doesn't have to be that, was just a test number).
The screen shot was taken with Firefox, which does ...
I have a 'mapwrap' div set to 400px x 400px and inside that I have a Google 'map' set to 100% x 100%. So the map loads at 400 x 400px, then with JavaScript I resize the 'mapwrap' to 100% x 100% of the screen - the google map resizes to the whole screen as I expected but tiles start disappearing before the right hand edge of the page.
Is...
Hello! I am going to write a simple layout system for a game GUI. I thought about the various layout systems used in GUI, such as absolute positioning, Java’s layout managers, springs and struts and the like. In the end I found out that I prefer the layout as viewed by CSS – padding, margin, floats, blocks, inlines, etc. Have you ever se...
I've got this mxml:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:htmlText>
<![CDATA[
<a href="foo">link me</a><b>bold me</b>
]]>
</mx:htmlText>
</mx:Text>
</mx:Application>
(In reality, the html content is coming from an xml file.) ...
Let's say the rule is as follows:
.largeField {
width: 65%;
}
Is there a way to get '65%' back somehow, and not the pixel value?
Thanks.
EDIT: Unfortunately using DOM methods is unreliable in my case, as I have a stylesheet which imports other stylesheets, and as a result the cssRules parameter ends up with either null or undefi...