css

Post Editor Like Stack Overflow

i am working on a site which has dynamic NEWS page... currently when ever i post some news its plain text... i want it to be formatted for various reasons... the thing is i want a post editor like Stackoverflow (the one we use to post our answers).... i don't want code sample but i want the following things in it text formatting... b...

CSS Menu code not working in IE6

i have this code for a CSS Menu... i got it generated by using a CSS Menu Generator tool ... its not working with IE6... what to do... HTML is here <table border="0" cellpadding="0" cellspacing="0" height="30"> <tr> <td> <div class="mainmenu"> <ul> <li class="li_nc"><a href="/" target="_self" >HOME</a></li> ...

Search button inside the search box like Bing

Hello all As the title says, how can I implement a search button inside the search box, something like Bing. Regards ...

IE7 z-index problem

Hiya! I'm having problems with z-index in IE7. I have a table where the user is asked to enter address. The javascript validator box 'formStatusBoxContainer' for postalCode is appearing behind the select box and the icon 'formStatusIcon' on the next row. Any idea how to solve this? Besides moving the box. Everything looks fine in FF and ...

Placing and centering div inside a div

Hi All, I wanted to achieve the following layout. basically 1 div placed inside the other. Div1 has circle as background image.(size of div varies) I want to position Div2 so as i always get the above layout I tried using centering a div inside another ..didnt work. Do I have to specify top and left for Div2?? I want to be able to d...

Why this IFrame is not taking complete page height?

I am using Iframe to display google.com [ or say any website ]. I have used height=100% but even then my Iframe size is just half the page. Please let me know why it is happening. Here is the link: http://jsbin.com/anola3 ...

Positioning elements via background - CSS-JQuery

Hi , I want to know Is there any way to position one of your HTML element related to the stretched background of your page ? you have made the background stretched , now you want to write something exactly next to your logo . considering the resolutions and browsers CSS & JQuery If you know any strategy or any good article/ tutori...

jQuery Horizontal Accordion Space To Far Right Whilst Animating

Hi, I've created a horizontal accordion in jQuery, starting here as a base: http://www.webdesign.org/html-and-css/tutorials/jquery-examples-horizontal-accordion.15528.html When it animates, a small amount of space is added to the far right which causes the tabs on the right hand side to move a bit. It doesn't look very good. It's all ...

jquery popup not opening properly - seems stuck in div??

[removed by original author] ...

jQuery used height of Div element

Hi, I try to get the exact used Height of a div element. It should be .outerHeight() but this does not work if the last child of the div has a border bottom. I did a little example: Html: <div id="iWantThisHeight" class="box"> <div id="div1" style="">innerDiv1</div> <div id="div2" style="">innerDiv2</div> </div> Css: .box div{ ...

IE 7 CSS Issues

Okay, I'll be the first to admit that i'm quite terrible when it comes to css, but I try... :D I have this JS Function which I use to create rounded corners using images, instead of the standard div in div in div way. I know there are better ways, but this is how i've done it: function applyHorizontalImageCornersSpecific(div, left, midd...

how to size the silverlight object to available space

I'm trying to follow Bob Andrews css styling for a sticky footer, what I'm trying to do is place the silverlight control (the <object> tag) in the main content area with it's size filling all the available space. If you take a look at Bob's demo page, what I'm after is the silverlight control occupying all the yellow part. What I suspe...

CSS left floats sitting on top of each other

So, I'm trying to create a div class that will display in a row and then automatically wrap to the next row when all the space is taken up. .contributor_thumbnail { display: block; float: left; width: 150px; height: 150px; border: 1px solid #777; } So that when I call the code like this: <div class="contribut...

Vertical align image within parent div with css

So I'm trying to vertical align images within a container div. I tried adding vertical-align: middle; to the parent div with no luck. <div class="contributor_thumbnail"><img src="image.jpg"></div> <div class="contributor_thumbnail"><img src="image.jpg"></div> .contributor_thumbnail { position: relative; display: block;...

zk and sclass issue

how to create styles for zk components, for examle grid? i try something like this: <style> .mine{ } .mine tr{ } .mine tr td{ width: 16%; padding: 2px 5px 2px 1px; } .mine tr td input[type='text']{ width: 100%; } ... </style> ... <grid sclass="mine"> ... and it works.. but it's usual css, which shouldn't be used with zk.. i'm sea...

CSS Position fixed limit to inside a div

Hi, I have a small toolbar div that is position:fixed so it moves as the user scrolls. The toolbar is inside a larger div, however I need the toolbar to not scroll out of the parent div - is there any way to do this? If you don't understand what I mean, take a look: http://flowmainserver.appspot.com/post (I want the love heart and other...

IE7+ Position:Fixed Z-index scroll doesnt work

hi I've created a fixed navigation bar/header at the top of a page with the content below. on all browsers, if i scroll on the page, the content goes under the fixed position nav bar EXCEPT for IE (no surprise there) How do i edit the CSS so this works? <div class="navbar" style="width:100%; position:fixed; left: 3px; top: 0px; z-index:...

How to stretch the form submit button using CSS?

Hi again, how do I stretch a form submit button using CSS? I'd like to have some kind of horizontal padding between the text inside the button and the button left and right end. Is this possible, and if so, how? Tips for making the button prettier (without using images) are also much appreciated :-). ...

Placing HTML Pseudo elements.

My css looks like this; p:not(.dummy):after { content: url(../../irhiddenchars/img/afterimage_9x9.gif); } I wish to take a taller (height) gif, but my lineheigth is increased when the css gets applied (even though there seems to be enough space for a bigger picture, line-height for a p-tag is 18px). Is it possible to place the pse...

Everything is way off in IE7 & IE8

Hey, It's just insane, I've made soo many websites and still it seems every time IE7 and IE8 behave differently every time!! I'm working on a friends website: Class One Except I can't seem to get my head around why IE7 and 8 seem to be adding in extra spacing. The positioning of the text overlay div on the jquery slider is off a few ...