I can't do frames in HTML first off, so don't suggest that....
OK, I have an Actionscript/Flash menu to the right of my page. Now, I want text to the left of it, but it always seems to screw up, either appearing above or below the menu.
Make two divs, with first
Make two divs, with first one, add style float:left
Put your content of left on the first div, and your flash in the second div. This should work.
But beware, you should replace the flash menu with a CSS menu. Flash menus are not spidered, hence your pages will be no where in google. Else, you add a site map.
I started learning CSS about
I started learning CSS about an hour ago lol. But I sorta understand the float technique, may take me a while to figure out though,
I think I still prefer ActionScript over CSS
Scratch that last part, I
Scratch that last part, I have no idea....
Moved from Off Topic because
Moved from Off Topic because this is a CSS-related question.
We need to see more of your code; the HTML is not enough. A link to the page is best, otherwise all the HTML & CSS for the page in question.
Actually, I've got the float
Actually, I've got the float working for the menu. Just not the text, some of it seems to be overlapping the menu, if no-one can help from there, I'll post my whole code.
I've worked around it by
I've worked around it by using html tags and modifying the tag with CSS. Probably not the best way to do it, but it works
Could you show us all your HTML and CSS?
Then we can advise if there's a better way to do it.
One way of doing could be,
I started learning CSS about an hour ago lol.
One way of doing could be, if you are new like me ...
1. Make a folder in your public_html/ directory, name it css
2. Now create a new file and type this there
3. Save it with an extension css, say home.css, and upload this in your css folder.
4. Open your html page, and type somewhere before the </head> tag
5. Now, type this between <body> and </body>
This is the basic thing that you should do, if you are new to css, I thought to tell you. From here, if it doesn't work, people can help you out.
Thanks. For some reason I
Thanks. For some reason I have an aversion to putting CSS in my HTM document (I just use external sheets). That works though, thanks.
blueparukia wrote:For some
For some reason I have an aversion to putting CSS in my HTM document (I just use external sheets).
And so you should. External stylesheets are the best method, but no-one has suggested using inline styles in this thread. :?
The poster above you told
The poster above you told me to put some in the body of my HTML
They told you to add classes
They told you to add classes to your HTML, not CSS.
Adding classes and IDs to your HTML is fine (as long as you don't go overboard). What's not encouraged is doing this:
That's inline CSS.
Well, I ocassionally add
blueparukia wrote:What I'm
What I'm saying is I try to completely avoid putting CSS into my HTML document.
Classes and IDs are HTML; they're not CSS, they're just hooks to hang your CSS on to.
There's no sane reason to avoid using classes and IDs in your HTML altogether. The idea is to not use them when you don't have to, ie, if you can target an element directly without reference to a class or ID, then do so, but it's impossible to style anything but the most basic pages without classes or IDs.
The use of classes is also what microformats is all about - so you're not just providing styling hooks, but also adding semantic weight to your document.
Exactly what I'm saying. I
Exactly what I'm saying. I only use it when necessary.
I'm not to clear on what IDs are though...
IDs can only be used once
IDs can only be used once per page. Classes can be assigned to multiple elements.