[css-d] IE6 Problem: an overflow:auto; width:100% inside a 100% table gets Bugy
Hi here r two pages: me without tableC:%5CDocuments%20and%20Settings%5CSol%5CDesktop%5Cflashoo%5CmeWithoutTable.html me inside a tableC:%5CDocuments%20and%20Settings%5CSol%5CDesktop%5Cflashoo%5CmePoorTable.html as u can see, the PRE element is OverFlow:Auto inside a 95% width table displays worse. (in IE6 (haven't tested on IE7)) why is that? can i correct this bug? thanks a lot NeoSwf -- www.webcssdesign.34sp.com __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] IE6 Problem: an overflow:auto; width:100% inside a 100% table gets Bugy
for some reasons the links havent been pasted corectly: me inside a table http://www.webcssdesign.34sp.com/me/flashoo/mePoorTable.html me without table http://www.webcssdesign.34sp.com/me/flashoo/meWithoutTable.html thanks for whom who will help Neo On 1/26/07, Shlomi Asaf [EMAIL PROTECTED] wrote: Hi here r two pages: me without table me inside a table as u can see, the PRE element is OverFlow:Auto inside a 95% width table displays worse. (in IE6 (haven't tested on IE7)) why is that? can i correct this bug? thanks a lot NeoSwf -- www.webcssdesign.34sp.com -- www.webcssdesign.34sp.com __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Elementary questioning about positioning a div
On 11/24/06, Jazzcreation [EMAIL PROTECTED] wrote I'd like to position a div of a certain height (say 30px) so that it starts 20px from the left hand edge, and runs up to the right edge of the screen. I normally try to figure out a way of doing this in css, then give up and use a table, which provides a pretty straightforward solution. Can anyone tell me what the css solution is? i hope u meant that: !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; html xmlns=http://www.w3.org/1999/xhtml; head meta http-equiv=Content-Type content=text/html; charset=utf-8 / titleUntitled Document/title style body{ margin:0 } Div{ height:30px; border:1px solid; margin-left:20px } /style /head body divme starts 20px from the left/div /body /html a div is a block level element. and this specific element expand its width automatic to 100% of the flow width. as u see, i margin left 20px the element, and i didn't have to give him width, he took the place by himself. NeoSwf __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
[css-d] TD Overflow:Hidden?
Hi All can i get overflow:hidden on a td, without use of div/span nested inside that TD? Thanks NeoSwf -- visit my blog: http://www.webcssdesign.34sp.com/ __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] TD Overflow:Hidden?
yes, i did, and it doesnt work. and all the suggestions over the internet suggest inserting div/span inside the TD On 7/31/06, Dave Goodchild [EMAIL PROTECTED] wrote: On 31/07/06, Shlomi Asaf [EMAIL PROTECTED] wrote: Hi All can i get overflow:hidden on a td, without use of div/span nested inside that TD? Thanks NeoSwf Have you tried it? -- http://www.web-buddha.co.uk http://www.projectkarma.co.uk -- visit my blog: http://www.webcssdesign.34sp.com/ __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
[css-d] google news layout structure- why is he like this?
hey guys [i hope this question haven't been asked till now, if so- my apologies.] I've looked at http://news.google.com page code layout, and I've seen that the page layout is table based. the containers are tables, the hidden personalization panels are also in tables. most of the page in build using tables. even the pictures are in cellspacing=5 tables. why is that? why haven't they used css layout? why the pictures are in tables and don't have simple margin:5px ? and i don't speak about the font tags they used... i assume that google guys used this technique for cross browsers support. but still, this brings me to a second question. after all our researches (and i can speak only for myself), table structure after all are the stable, consistent and reliable layout there is. of course- content will be putted using right HTML- P,H1-6,Divs, but still- the table layout proves himself as the right solution. what do you think? __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
[css-d] a textarea poke out, and a line height issue
hey attached please find an img that define the problem i have also i pasted the link for my problem http://dogma.co.il/shlomi/for_cssD.html as you can see, the textarea pokes out, and i don't know how to fix it. i putted at the end of the div - a BR with clear:both i overflow:auto my #frm i cant find an answer except giving #frm a height, a thing i try to avoid. Second question: as u can see in my pic/link, the text sub account and master account, the texts that are in the same raw with the divs, doesn't inherit the vertical align:middle. how can i vertical align them without placing them inside a div. thank you very much NeoSwf __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] a textarea poke out, and a line height issue
thank u so much for your answers, Reger Gunlaug they have really helped me!!! :) Roger Roelofs wrote: Vertical-align applies to inline elements and depends on the line-height that is specified. __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
[css-d] the perfect layout
http://www.dogma.co.il/shlomi/htmlTest/stracture_everything.html http://www.dogma.co.il/shlomi/htmlTest/layout_stracture.gif *hi :)* i need to build this page as structured at the Giff and been started working on at the html page i attached. i need to make a 3 columns page i have a Left column, a Right column, and a middle content area. at the bottom there's a Footer. this footer should be placed at the middle. and inherit the middle content width. (as shown at the GIF example i made) i mannaged to make a float layout, that if u take the left or right layout (by display:none), the middle automatic takes his place. *i have to problems unsolved here:* *1.* how can i solve my fotter issue? he is in absolute position, bottom:0. how can i make him sit at the middle AND at the bottom of the page, say like bottom of the middle column, and the middle colum widths, like at my picture. *2.* if i dont give my DIV#main a fixed height, i wont have a scope for the #left #right Children to adjust to. and if my content height is over the height i declared in my style, the content wont influence the div height. couse its fixed. ill appriciate any help Shlomi Asaf __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
[css-d] mozilla bug absolute position+bottom:0 doesnt refresh when container div height is changing
Link to example: http://www.shlomiasaf.com/footer_tst.html hi, i have a problem in MOZ. i place a div in a absolute position, in the bottom:0px. when i change the height of the container div, the bottom div doesnt move, he knows the bottom position cuse he has a clear:both BR before him. does some knows to solve this problem in moz? how to render in moz div places on changes? Thanks a lot. Shlomi.A __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Problem in WinXP SP2 (Correct E-mail)
infact- i have problem caching my site images what is the reason for the images loading everytime users enter my website? i can declare something or orgenize my html in a way that will make my images load from the cache and not everytime the user enter my site? On 11/23/05, Nick Fitzsimons [EMAIL PROTECTED] wrote: Hello, I am having problems in hover of image in the IE6 Windows XP SP2. It is blinking when the event happens to hover. What the reason happens this? It's difficult to say without an actual page to look at, but, like most developers, you presumably have IE set to Check for newer versions of stored pages (i.e. use the cache or not) on every visit to the page. This causes problems for IE as, rather than using cached versions of CSS background images, it goes back to the server every time and refetches it. Change your browser setting to check Automatically (Tools menu Internet Options dialog General tab Temporary Internet Files fieldset Settings... button) and see if that fixes it. If so, you can relax, as this is the default setting, meaning 99% of visitors won't see the flicker. HTH, Nick. -- Nick Fitzsimons http://www.nickfitz.co.uk/ __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Positioning Divs without div container
but cant i use the body tag as my container? another question: doesnt the divs render them self much more faster? dont they render to the stage/page quicker? a table tag need to be close before he shows him sels. same as div. doesnt it? On 12/14/05, Christian Heilmann [EMAIL PROTECTED] wrote: . i use in my sites to build using container div that contain all the structure and the divs that hold the site. someone told me that is would be a good idea to separate the divs. in this way the browser will process the page faster, and will put the HTML faster. I sincerely doubt that this is the case. It was the case with Netscape 4.x and tables - if you had the whole layout in one table then it took long to render, whereas if you created a header - content and footer table the page seemingly rendered a lot faster. Don't let yourself be fooled by unproven myths, it is a good idea to contain your layouts in a container DIV, as that makes it easy to switch from fixed to fluid layouts in future redesigns. -- Chris Heilmann Blog: http://www.wait-till-i.com Writing: http://icant.co.uk/ Binaries: http://www.onlinetools.org/ __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Positioning Divs without div container
if you had the whole layout in one table then it took long to render, whereas if you created a header - content and footer table the page seemingly rendered a lot faster. hi cristian just to make my self clear: have u talked about the user feel, that the page takes longer to load? or have you talked about the total loading time the pages takes to load,? __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Positioning Divs without div container
now days we calculate every byte i disagree with you about your attitude. that you don't have to calculate and think about site weight look at yahoo homepage code, for example: they don't write ', all css classes are one to two letters there is a war for clients(costumers), and u have have to make the site fast as possible On 12/14/05, Christian Heilmann [EMAIL PROTECTED] wrote: but cant i use the body tag as my container? I doubt that every user agent out there allows you to set a width to body. I could be wrong though. However, you lose another element you can use for borders and background that way. Faux columns[1] is a great trick to use with a centered container element. another question: doesnt the divs render them self much more faster? dont they render to the stage/page quicker? a table tag need to be close before he shows him sels. same as div. doesnt it? Could be. Generally tables are not good to use for layout[2] and are more complex constructs than DIVs, therefore DIVS might be faster (a user agent has to recalculate the width of each cell, check if there is a colspan or a rowspan, check if the element is a TD or a TH to apply the different browser specific styles, add the borders and and and). The whole idea about CSS layout is that the grid is not fixed and you don't build a visual construct but style a sematically logical HTML structure. This means that an element designated nav could be left, right, top or bottom, depending on the need of the user and the ability of the user agent. Rendering speed is quite a moot point these days, if you keep your structure logical and don't add dozens of elements for visual trickery then the page will render quickly. I can make a table that renders really fast or create a DIV with a 12mb background image that will take ages to render, there is really no competition. [1] Faux Columns: http://www.alistapart.com/articles/fauxcolumns/ [2] Why tables for layout is stupid http://www.hotdesign.com/seybold/ -- Chris Heilmann Blog: http://www.wait-till-i.com Writing: http://icant.co.uk/ Binaries: http://www.onlinetools.org/ __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
[css-d] Positioning Divs without div container
{attached please find a picture describing the problem} Hi Guys i get conflicted in those days with this question: i know that browsers put the HTML as soon as they find the closing tag of the element- like Table or Div or P . etc... i use in my sites to build using container div that contain all the structure and the divs that hold the site. someone told me that is would be a good idea to separate the divs. in this way the browser will process the page faster, and will put the HTML faster. building a site without a container div is strange for my idea. i cannot put background images, i cannot position divs in the middle. i can do that only using absolute positioning and use JavaScript to measure user client width. bottom line- are divs, inside container div, load fast as outside a main div, using body as the scope. can someone contribute me from his experience. ill appreciate that. Shlomi.A __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
[css-d] Image rollOver reloading problem background Positioning technique- architectural problem {i guess]
hi :) i use this thechniuqe to rollOver images and change there state. http://www.zimmerim.co.il/zimmersV2/test_For_Css_D.html #in_the_area A.spa{ background-image:url(../images/more_in_the_area_spa.gif); } #in_the_area A.spa:hover{ background:url(../images/more_in_the_area_spa.gif) 0% -94px; } live example appears here- at the bottom http://www.zimmerim.co.il/zimmersV2/atraktion_show.php?id=19 for some reason, after the image had been loaded, if i stand on the image, it reLoads the image again. so strange... and some times- the image doesn't reloads it self. it works great (after i clean my cash of course) is it server problem? architectural design problem? thank you NeoSwf __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Image rollOver reloading problem background Positioning technique- architectural problem {i guess]
continuation: i got on a trace. for some reason, after the page had been open for 10-15 minutes, if i move on the images, they reload again. and i see a blank/white space behind them. why is that happening? server bandwidth limitation ? browser limitation ? On 12/5/05, shlomi asaf [EMAIL PROTECTED] wrote: hi :) i use this thechniuqe to rollOver images and change there state. http://www.zimmerim.co.il/zimmersV2/test_For_Css_D.html #in_the_area A.spa{ background-image:url(../images/more_in_the_area_spa.gif); } #in_the_area A.spa:hover{ background:url(../images/more_in_the_area_spa.gif) 0% -94px; } live example appears here- at the bottom http://www.zimmerim.co.il/zimmersV2/atraktion_show.php?id=19 for some reason, after the image had been loaded, if i stand on the image, it reLoads the image again. so strange... and some times- the image doesn't reloads it self. it works great (after i clean my cash of course) is it server problem? architectural design problem? thank you NeoSwf __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Changing background color in UL or LI elements
if you give an element display:block, you can set height, width, bg color and much more. look at this example: http://www.zimmerim.co.il/zimmersV2/test_For_Css_D.html and look at the right list in this portal http://www.zimmerim.co.il/zimmersV2/ the white ones? its a list look over this __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
[css-d] DOCTYPE STRICT declaration problems with the page appearance in MOZ
Hi :) mozila gives me hurd time with pictures in a page the declare imself as HTML-STRICT (as seen below) http://dogma.co.il/margin.gifhttp://pegasus.myboxnetplace.com/~zimmeri/tzimerim/images/Untitled-1.gif you can see in that example that moz makes a margin:2px between the pictures. IE dosent makes me problems. why is that? help will be appriciated very much. Thank You NeoSwf __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
[css-d] tables VS divs
HI Guys I'm facing now the dilemma between working with tables or div's im trying to figure what is the golden path Sometimes div's seems to be overkilling achievement when I'm working with a layout of 3 standing columns and one should relate to his brother height Even though div's are so functional/modular compare to tables layout, I don't want myself to do everything in the sake of i have to build my site using only div's, because its what everybody does, so probably there's a good reason for that I want to use the right technique in the right situation Tables are so easy to maintain a steady structure, the left column is relative to his right brother, they inherit each other dimensions and i don't have to kill myself with html/css hacks to achieve repeating BG_image in one column. i built few suites using only div's, it gave me a headache, and when im looking back, i see that i tried so much to be a div-site-builder, that i forgot not to loose time in the way, and i forgot to question each situation and figure what is the best way to dill with. but im sure that im probably in my first few steps in my journey, and i still need to learn the tricks, but it seems that to much energy is waist instead of using what is simple and time saving in each specific situation. im sorry i dont bring up a discusion on a spacific example. i want really to discuss to ideal/easy and energy saving way to built a web site. thanks a lot NeoSwf __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] tables VS divs
*hey guys* thanks so much for your replies *cristina*, have u found your css fails? mine never fall down. ill read more in details your email, later on- promise :) *dwain, **cristina, *look at this example, plz enlighten my eyes if im doing something wrong. http://www.shlomiasaf.com/CSS/nav/horizontal_NAV_BAR.htm look at the source, it based on eric mayers listematic http://css.maxdesign.com.au/listamatic/horizontal04.htm using table for this example, i would have done that in no time. i would have got vertical-align easly, td-box hieght and it was so easy to acvhive that goal in few secs and less code/css but here i broke my soul to achive this goal. i had to use 2 styles for the same nav. i had to define DIV style, and A style. its so complecated for no reason. cheers for any sugestions. Shlomi On 9/22/05, dwain alford [EMAIL PROTECTED] wrote: shlomi asaf wrote: HI Guys I'm facing now the dilemma between working with tables or div's im trying to figure what is the golden path in short, tables should be used for tabular data and divs are used as containers for positioning. as you work with (x)html and css rather than tables you will find that this is less code heavy than tables. in the beginning there can be much frustration in positioning elements, but when you begin to understand what you can do with html/css pages, quite frankly, you will not want to go back to using tables for layout. i have been using html/css for layout for just over a year, and i don't think that i could do a table layout if my mother's life depended on it. there is more freedom in using html/css based layout over table layouts. sure, tables are quicker to layout, especially if you are a wysiwyger, but i've been hand coding for just over a year, and i don't even consider wysiwyg as an option any more. there was an advertisement long ago that espoused, try it you'll like it! html/css based layouts appear to be more standards compliant than table layouts (imo). hth, dwain -- dwain alford [EMAIL PROTECTED] http://www.alforddesigngroup.com The Savior replied; There is no such thing as sin;... 'The Gospel of Mary of Magdala' = shlomi asaf wrote: I'm facing now the dilemma between working with tables or div's im trying to figure what is the golden path Hi IMHO it shouldn't be a tables Vs divs argument - because both have their place when correctly marked up. It should be a tables for formatting Vs CSS argument. Plus divs can be just as overused (I'm just as guilty of that). CSS will make your sites much easier to maintain in the future, if they are marked up correctly you will still be able to use the site even if your stylesheet fails. (Or more to the point your visitor decides they want to turn it off, or apply their own styling). The thing that is important is that you shouldn't force your website to be viewed a certain way. Which a table formatted design will try to do and will also be more difficult to use on different platforms. I totally understand what you mean about table formatted design being easier to create. But just try a little test - try navigating around your site using nothing but the keyboard, try it on other sites too - ones that are CSS driven and ones that are table driven. See how you get on. Now turn off the CSS and images - are those sites still usable/accessible? Are your sites still usable/accessible? Which in your opinion came out best? They might not look as pretty - but when it comes down to it - people want to access and use the information. My 2p ;o) hth Kristina __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
[css-d] div horizontal centering in Moz
Hi buddies :) Wassap? why in moz this code doesnt work, and only in IE it does? style .body{ height:90%; width:100%; text-align:center } /style IE div id=body div id=main_container/div /div Moz div id=body centerdiv id=main_container/div/center /div why moz doesnt support text-align:center, but recive center tag? thanks! Neo __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
[css-d] Re: z-index - layer positioning, but without absolute positioning plz :~)
ok i've solved the problem if a layer is absolute, to a father, who is relative, he will relate to him as his scope, his root. tnx NeoSwf On 9/13/05, shlomi asaf [EMAIL PROTECTED] wrote: Hi :) how can i position 2 divs, that r nested in 1 big div, like the following example: http://www.dogma.co.il/shlomi/position_zIndex.htm I'm not interested in absolute positioning, because the divs should be relative to the div they r contained inside, and not to the body. the code i used is like the following: div style=border:1px solid #000 divimg src=images/black.gif/div div style=position:relative; left:60px;top:-200px;img src=images/blue.gif/div /div how can i overlap one div on another div, and yet they will be relative to the div they r contained inside? thanks alot Neo __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
[css-d] z-index - layer positioning, but without absolute positioning plz :~)
Hi :) how can i position 2 divs, that r nested in 1 big div, like the following example: http://www.dogma.co.il/shlomi/position_zIndex.htm I'm not interested in absolute positioning, because the divs should be relative to the div they r contained inside, and not to the body. the code i used is like the following: div style=border:1px solid #000 divimg src=images/black.gif/div div style=position:relative; left:60px;top:-200px;img src=images/blue.gif/div /div how can i overlap one div on another div, and yet they will be relative to the div they r contained inside? thanks alot Neo __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] can i force width on a div? / working with blog system
its about tables been entered by the user Thanks a lot Shlomi On 8/9/05, Christian Heilmann [EMAIL PROTECTED] wrote: Hi everybody im working on a Blog System and i have problems with user inputs i have 2 divs div id=jjj div id=ggg style=width: 600px; float:leftuser data/div div id=fff style=width: 150px; float:leftright column/div /div on the left DIV the user uploads his data. if the user uploads content widen then 600px, the page breaks and the right div falls down beneath the left DIV how can i solve it? through declaring *!important *div width, i haven't managed to control the width absolutely. What is data? Text should wrap, images you could check before allowing the user to add it to the content and resize them on the server. If this is about preformatted text, then you could use the overflow CSS declaration to define what the blog should do: http://www.quirksmode.org/css/overflow.html If this is about shortening links, then you'd either need to shorten them in your upload script or via DOM and a small JavaScript. HTH Chris -- Chris Heilmann Blog: http://www.wait-till-i.com Writing: http://icant.co.uk/ Binaries: http://www.onlinetools.org/ __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] can i force width on a div? / working with blog system
Display:relative doesn't exist, or i have misunderstood you. i have to tell the programmer, to resize the images of a table been entered by the user, cause i cannot know how much columns the user will enter. On 8/9/05, Christian Heilmann [EMAIL PROTECTED] wrote: its about tables been entered by the user If you either define the width of each table inside your content section to its width or define no width at all and set the content section to display:relative all should be fine. Do not allow them to define any sizes, this is the job of the CSS :-) -- Chris Heilmann Blog: http://www.wait-till-i.com Writing: http://icant.co.uk/ Binaries: http://www.onlinetools.org/ __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] only half of the drop downs work in IE6
Hi Richard have you fixed the problem? I'm using IE and i don't see any problem in your menu, besides a little design issue: from my opinion, u should margin:7px 0 0 10px your drop-downs so they will align to the text and not sit so close to the text at the menu. Yours Shlomi Asaf. On 8/1/05, Rich Points [EMAIL PROTECTED] wrote: Howdy, I'm working on a design and I'm having trouble getting all the drop downs to work in IE6. The first three menus are dropping like they should but the next three, starting with 'techniques' don't work. Has anyone see this problem before? http://gatewaygourmet.com/Test/index.htm Thanks Rich __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
[css-d] background : 100% 90px Explanation
Hi im new to the list and i have a question: what does those attributes [ 0% -91px ] means in those definitions: .posttitle a { background: #9BBB38 url(images/posttitle.gif) no-repeat top left; } .posttitle a:hover, .posttitle a:active { background: #E8E7D0 url(images/posttitle.gif) no-repeat 0% -91px; } my guess is that 0 means width or margin-left of the area, and -91 the height positioning of the bg-img. am i right? where the is a documantation for this attribute? __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/