| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14
Comments:
<0> yeah, body is in html <0> but my div is only in body .. not a div between <1> so? <2> hello everyone, i'm trying to add an image to a site that has the main template as a background <1> s0crates: k... <2> but as soon as I add it, one cannot click on transparent gifs set up over certain parts of the background image that are meant for linking <1> what're you applying the bg to? <2> http://miamibookexchange.com/paint.txt <2> there's the code <2> and if you go to root miamibookexchange.com you will see the image <2> that works fine.. <2> but i need to add an image to the center of that page, and when I do so it makes the links on the left side go inactive <1> s0crates: fyi your doctype declaration is gimpy <1> `doctype html4trans @ s0crates <3> s0crates, doctype html4trans: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <1> that one's good
<1> s0crates: well, what's this giant img for? <1> mainpage.jpg <4> grr <2> that is the entire background for the site <2> then i set up transparent gifs over the buttons to link elsewhere <2> i'm better at coding perl, php c, even c++ but man i don't know anything about html, so please have some patience with me if it's a rookie mistake <1> s0crates: set html { background: url(mainpage.jpg) no-repeat center center; } <1> and remove the img <4> ****ing IE! <2> reisio: what do you mean? <1> s0crates: use this CSS: 'html { background: url(mainpage.jpg) no-repeat center center; }' <1> instead of the img <2> oh i see.. <2> ok let me try that.. <2> like so..? <2> div.headbg { background: url('mainpage.jpg') no-repeat center center; } <1> no <1> like so: <1> html { background: url(mainpage.jpg) no-repeat center center; } <2> reisio: thank you. that centers it atleast =) <2> but let me edit this and then see if I still get the same issue.. <4> wish I could work out why IE makes tables clear the floated menu.... :/ <2> what would of been the easiest way to do what i was trying to do? <1> I didn't understand what you were trying to do <2> well take this image and make the site out of it <2> like putting the invisible buttons and such <1> right right <1> I guess I'd put a div inside body <1> set it to width and height of the image <1> set the image to background <1> set position: relative; <1> then you add a ul or two for the nav links <1> set the a's within the li's of the ul's to display: block; and position: aboslute: top: whatever; left: whatever; (or right: whatever;) until they're in the right spots <2> gotcha on that.. but when i add a big image in the middle.. <2> it disables the right buttons.. watch, let me finish adjusting these relative points.. <2> relative positions, so that you can see what i'm talking about, thanks for the alignment though <1> k <2> damn this is really weird but now when i change the relative position of one button it affects the others.. why is that? <1> don't use relative, use absolute :p <2> ah absolute.. ok <2> reisio: ok now while testing in firefox.. <2> the buttons aren't where they are in the editor <2> and i used absolute <2> they have all shifted over <4> editor? <2> and the baground image isn't aligned center <2> yeah i'm using a gui editor for slight ***istance.. nvu <2> background * <5> hello <4> hi <4> s0crates: I tried nvu... it didn't fill me with confidence... and had a tendency to crash, iirc <5> cheney <5> still work on that web site? <2> FunkyBob: ever since I used the nvu in the unstable repo from debian it has been a lot more stable <1> heh <2> so maybe you should give it another shot <2> but anyways what editor you use now? <4> s0crates: heh.... <4> well, I don't find hand coding HTML scary... so... :) <4> I use nvi <4> or vim, or vi... whichever is installed
<1> you sick bastard <6> s0crates: nvu? what is that? <2> ah.. <2> web editor for linux <1> I never noticed that, though :p <1> the similarity between nvu and nvi :p <2> vi huh.. darn that's rough man <1> ha <6> like bluefish? <2> i use vi for php perl and all that <2> but to move a box around <1> stockholm: no, more like dreamweaver, only less <2> I like a visual guide you know =) <1> stockholm: ever use Mozilla's or Netscape's "Composer"? That's Nvu <4> s0crates: meh... I have the Web Developer plugin for FF... so I can dynamically edit my CSS... <2> maybe i should use mozilla's composer.. <2> let me try that <6> reisio: hm, i dont think so <6> how does it compare to bluefish? (i used that a bit) <4> I've yet to find a web authoring tool that doesn't piss me off or just basically offend me <7> Hi all. Is it possible to use css for html that uses multiple font colors in a single paragraph. The code with out css would look like <p>Some normal text <font color="red"> and some red text</font></p> <1> s0crates: nono <1> s0crates: nvu is newer <4> feugan3333: replace the font elements with span elements <1> stockholm: it's a WYSIWYG :p <4> feugan3333: since the "font" element is an abomination, anyway <4> <p> Some text <span style="color: red;"> in red! </span> </p> <1> e.g.: <span style="color: red;">some red text</span> <1> noooo! :p <4> snap! :) <4> too slow, reisio ! :P <7> FunkyBob: Thanks, I'll take a look <2> reisio: well guess what, composer just gave me truer results <2> i mean the alignment <2> http://miamibookexchange.com/paint1.html <2> that's what it's like before the problem. <2> now let's see if nvu gives me the same issue <2> i mean composer <2> ah yes, and the old problem is resolved. <2> composer is the bomb. <2> ^-^ <1> :p <2> thanks for your help though reisio <2> sometimes you have to pick the right tool i suppose, and the old tool rusted in the shed did the trick <1> np <8> hi there, is it possible to give an divLayer the option align: center; ? to display that div centered ? (not the text inside!) can anyone help , or do i have to go to another channel ? <4> simon23: margin-left: auto; margin-right: auto; <4> ***uming this "divLayer" is a div, or other block element <8> FunkyBob: why doesnt text-align work ? or padding :30px for a padding of 30 px on all sides ? theres only a padding on the right side then...? <8> FunkyBob: (will try that margin thing,... isnt margin for the content of a div ?) <4> simon23: because text-align is for inline elements, not block elements <4> margin is for _outside_ an element's borders... <4> padding is for _inside_ <8> oh - so just inline... interesting :-) explains some stuff... <8> well - thats interesting too :-) <4> `css box <8> thanks a lot ! <3> css box: http://www.w3.org/TR/CSS21/box.html <4> check that out for more detail <8> thanks - looks like there is much interesting information on that side... (didnt know that side,... guess i will browse the whole pages of w3c...) <4> erm <4> they're just the people who write the standards.... <4> you know... nobody _important_ or anything.... </sarcasm> :) <4> yeah, it's worth reading more <8> because of the standard i want to know of it... they write them... they publish them.... <8> when all ..."webmasters" (->developers) use these standards - its more likely to be supported completely and not just mostly... <4> simon23: when more web sites stop pandering to IEs brokenness, it might also help <8> thats why i'm trying to code stuff just like these RFCs (or however they call the standards of the w3c ) said it should be. <4> it's not uncommon to see people spend as much time making their site work in IE as they did getting the design right in the first place <4> they provide HTML and CSS validator services online <8> btw. do you know how to tell a div to use the maximum Height(100% of the browser window?) <4> nope
Return to
#css or Go to some related
logs:
if3 ignores redirects #math linux rename a usb drive #python how to protage gentoo #gentoo #css #physics #perl ENGINE: ctrl cmd_string failed
|
|