Hi,
I have the following menu which I need to align:
- Option 1
- Option 2
continued
- Option 3
I want the word continued for Option 2 to be aligned with the O of Option 2 just like this:
- Option 2
continued
How can I do this with CSS? Could someone help me?
Thanks!
Can we see what HTML you're
Can we see what HTML you're using?
Here is part of my HTML
Here is part of my HTML code:
Option 1
Option 2 is too long to fit on one line
Option 3
Specifications
Option 4
Option 5
and here is my CSS part:
#Quick_Links_Content {
position: absolute;
left: 8px;
top: 10px;
text-align: left;
width: 145px;
}
.Quick_Links_Hyperlinks {
font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
color: #003877;
}
Hope you can help me. As you can see, I'm using the spacer.gif image to make the space equal to the first line. I'm pretty sure there's a way to align this without using an image.
Please post all your HTML,
Please post all your HTML, inbetween CODE tags.
You should use an unordered
You should use an unordered list for your links, set list-style: none, remove the image from the HTML, add it as background-image to the anchors to which you'll set display: block and give them some left padding.
Perfick!
to which you'll set display: block and give them some left padding.
Thank you Tyssen!
Duck #4 now lined
Duck #4 now lined up...literally!
'Twas tricky though. The image is what it says - a blue dot.
I got Peekaboo dots in IE!! The first one - there are 6 - would never appear and I would get either 5 or six below that and sometimes half a dot.
So I pushed my old friend position: relative in there which seems to have fixed it, but could I have a code check please guys? Have I specified something wrongly? It's just a list, no links. Did I need pos:rel? It lines up in a different place in IE and FF but I can live with that.
#aimslist
{
position: relative;
list-style: none;
margin: 0;
}
#aimslist li
{
background-image: url("images/bluedot12.jpg");
background-repeat: no-repeat;
padding-left: 2em;
margin: 1em 0;
display: block;
}
thepineapplehead
Please post all your HTML, inbetween CODE tags.
My apologies TPH and all
My apologies TPH and all :blushing:
I'm trying to get the thing up on FreeHostia to make it easier for everyone but I have to try to figure out how to make it a test site, not a published one.
Guess I'll have to leave this till I've figured it out
If you publish to the web,
If you publish to the web, it's published. You can, though, cause search and other sane 'bots not to index the site or some particular part of the site. See A Standard for Robot Exclusion.
Google offers help, including a syntax validator for your robot.txt file.
cheers,
gary
Smee you appear to have a
Smee you appear to have a dual personality?
Hugo wrote:Smee you appear
Smee you appear to have a dual personality?
Ummm... Didn't know it was so obvious :blushing: Sorry Hugo but I don't follow...
Hi Gary
Hi Gary
If you publish to the web, it's published.
*sigh* That's what I was afraid of.
Thanks for the link. I've never put anything up on the web, so I have to come to grips with the whole FTP thing. However stopping the robots from indexing the site was concerning me, since I basically don't want anyone to know it's there, I just want to make a test site so easier for people to help me.
Off to do some reading and googling!
Hi Gary Gary wrote:If you
Hi Gary
If you publish to the web, it's published.
*sigh* That's what I was afraid of.
Thanks for the link. I've never put anything up on the web, so I have to come to grips with the whole FTP thing. However stopping the robots from indexing the site was concerning me, since I basically don't want anyone to know it's there, I just want to make a test site so easier for people to help me.
Off to do some reading and googling!
Ooh....that was(n't) clever!
Ooh....that was(n't) clever!
Dual personality you said
Dual personality you said Hugo???
*sigh* Smee's gone and
*sigh* Smee's gone and broken the forum :rolleyes:
Look at it this way....now
Look at it this way....now you know this can be done!
It seems things quickly come
It seems things quickly come unstuck if you leave off the end ] from the opening quote tag.
It's all in the timing!
Clever you!
It was submit - see the missing tag - hit stop - put in ] - hit submit again
Aaaaw...double daisy's gone...it was rather appropriate considering the conversation at that point! But I (or anyone else) is unlikely to get the perfect timing again, we'll just end up with a double post
I actually did know what I did that time.
Now...while you've all been
Now...while you've all been busy so have I - reading Gary's links.
Since I don't administer/control the server, if I put these
in all my .html pages, it should keep the robots out right?
Anything else I should know folks before I try and load them via Arachnophilia's FTP?
*sigh* Not quick enough
*sigh* Not quick enough that time
See we've managed to glue
See we've managed to glue the forum back together, is it dry yet?
So do you not have root access then with freehostia? I guess it's not a vhost arrangement?
Meta tags will keep some robots out but not all, and you will get indexed somewhere.
Quite decent paid for hosting is available where you have full access to your own virtual root as it were and can upload files such as robots.txt, and such hosting is so cheap nowadays that it's not going to set you back more than a few dollars a month.
You can then do things like simple http authentication so that the pages are not publicly viewable
Hugo wrote:See we've managed
See we've managed to glue the forum back together, is it dry yet?
Cleverclogs
So do you not have root access then with freehostia? I guess it's not a vhost arrangement?
:scared: I tell you Hugo...this relationship is never going to get off the ground if you don't speak English! Root access? vhost? :?
I've got a domain name, a login and a password. A POP3 server and I don't have and SMTP server.
Shall we meet over in Off Topic now? I leave the driving to you.
can't be bothered to drag
can't be bothered to drag my sorry a**e over to 'Off Topic'
I just meant was the account one of those simple user accounts i.e that have this type of arrangement /~yourusernamehere they are simply space under the main domain name as opposed to a virtual host which is a server (Apache) that has the ability to create full domain acounts but under the single IP address, i.e you have a domain name all registered nicely which is parked and is then pointed to the servers IP address that server receives a request for yourname.smee and resolves it to the virtual host that has been set up and which acts as though it were a single web server
your pages then work on http://yourname.smee/ and accessing the account would give you a user root with a subdirectory called htdocs, public_html or www from where your actual pages are stored that are publicly served.
All that mumbo jumbo aside you should be able to upload a robots.txt file? it lives in your root directory or more accurately the Document Root where you actual pages live
I was just trying to edit my
I was just trying to edit my post to add the link to the Beginner's Guide:
http://forum.freehostia.com/viewtopic.php?t=240
If you have a quick look, you'll probably know more about it than I do and perhaps you'll be able to confirm for me just what I do have because I'm ultra confused now Hugo. I'm told my FTP Host is nasmsite.com which is what I registered, so I'm assuming it's http://nasmsite.com - it also says:
We have an online File Manager integrated in the web hosting control panel which can be used for file manipulation and upload. Open the File Manager - you will see 5 folders:
logs
sys
tmp
www
These are the system folders of your account. The one that you will be accessing is the www folder. In the www folder are located the main folders of each of your subdomains/domains.
It's past 11pm so I'm off to bed - thank you for trying to sort me out,
I honestly don't mean to be this difficult or dense
That looks fine, you appear
That looks fine, you appear to have a full vhost account which is the normal type of shared hosting account that 90% of web sites run from, you have your own domain name and as soon as you place any file called index.html/.htm/ etc then that page will display when someone enters your url.
You also should be able to upload a robots.txt file with no problem via ftp or the cpanel? file manager to your www/ directory which is where http://nasmsite/ looks to for it's pages to serve up publicly.
'Morning Hugo wrote:That
'Morning
That looks fine, you appear to have a full vhost account which is the normal type of shared hosting account that 90% of web sites run from,
Oh goodie. Thanks for that. Well, have a good night's sleep and a substantial breakfast...you're probably going to need all the fortification you can get when I get back to this tonight! Of course we have to make a robots file first....
Smee wrote:'Morning Of
'Morning![]()
Of course we have to make a robots file first....
User-agent: *
Disallow: /
Save as robots.txt and upload to the www directory(doc root) where your main site files will live
'*' is a wild card and means any bot/spider but can be specified as to actual bots
Disallow: / means dissalow crawling from your root directory (forward slash is 'root' the top most level accessible) all sub directories off root i.e /scripts/ would be included. Again one can be more specific in what is allowed and what isn't. Meta tags are useful for denying access to individual pages.
Well, if everyone's got
Well, if everyone's got their jaffas/fantales/popcorn I'll begin...
Thanks Hugo. I did wonder whether it really was a 2-line file and you've confirmed that. So I'll leave the Meta tags in for the moment and go have a try...
I'll be back...I hope...
Then when done, and if you
Then when done, and if you haven't already got one, register a google account ('web master tools') go through the procedure of setting the domain name as one to monitor (requires a file name generated by the google page to be cut and pasted into an empty file and uploaded to your main directory with the file name set as google directs; to prove you are who you claim to be)then google will produce stats on your domain and pages therein, one of which will tell you results of any robots files, you should get "can't index this site" or words to that effect and a description of the robots.txt file it has encountered.
Oooerk! This is most
Oooerk! This is most stressful I'm just following my nose at the moment...just loaded 5 images and I've no idea where they went!!!! I thought I was putting them in the "images" folder
Oh well...I imagine I'll find them eventually
Looking at things it appears
Looking at things it appears that '/' your root directory (www?) has no further sub directories in it i.e I can't see an images directory
N.b at the moment without an index file in the top level directory and with directory indexing at default 'on' one can view the directory structure, not a major problem but one would normally ensure directory indexing was turned off or that a simple index.html file was in place to be served up rather than a directory structure view.
Cheeky you! Just as well
Cheeky you!
Just as well though...I was just starting this when you popped into my inbox - I know what I've done...I loaded the .css and three .html files to the same level as the root directory instead of IN it - can you move them if I change the permissions? I've opened a ticket though. I tried to move a file and the thing haemorrhaged and told me to contact "Support"....so I am
Oh NOOOOOOoooooo!!!! They're
Oh NOOOOOOoooooo!!!! They're quick but....this is the answer
Hello,
There is a temporary issue with this server which has affected the file manager. Our administrators are working on solving the problem. We are sorry for the inconvenience caused to you.
Best Regards,
Will
So I'll have dinner and see
So I'll have dinner and see if they can get it up in the meantime...gee, and I was almost there...
Oh don't like that reply to
Oh don't like that reply to the file move problem, avoid Cpanel and it's file manager for the moment it's slow and not that much use anyway.
Download and install FireFTP for FireFox it's a decent little ftp client that you can run from 'tools' menu and is fast but lightweight and ok for basic work. Using the right hand graphical pane you should be able to select files and simply move them within your remote server folders or simply right lixk delete the files and re-upload them to the correct folder
Hang on a minute, I'm
Hang on a minute, I'm winning! I was just able to login to FreeHostia and see everything again, so instead of trying to move things I deleted them and nearly have it reloaded...just some of the images to go. But you're right, it is soooo slow AND I'm on dialup.
Have registered a Google account but of course had nowhere to load the file to at that stage. I will do that and dnload FireFTP tomorrow night though and give it a go. Back in a minute but hey, don't get your hopes up, css and index validate but the two link pages are full of errors because I'm still trying to define the headings a whole new way and there's a table ( a what?) in there because...well...it's a table - and it doesn't validate at all!
However I've taken out the pos:rel from the ul and you should see the Peekaboo dots in IE - remember those? That's how this whole thing started. Just ignore all those other ducks running around for the moment..we'll get to them
It's nice to know you're still with me...
Okay...off you go then -
Okay...off you go then - take a look.
Do I want to hang around for this or will I wait for the morning papers?
Once you have all current
Once you have all current pages up and linked to it might be wise to re-explain the problem,at the moment looking at things I'm not sure what I'm looking for and didn't think that I saw a problem with ul bullet alignments
Firstly refresh the browser,
Firstly refresh the browser, I've just loaded the missing top pattern bar.
Then, if you view it in IE, the list under AIMS lines up but the dots come and go if you whizz the side scrollbar a bit. In fact the top dot never shows.
Well...it's past Pumpkin
Well...it's past Pumpkin Time so I'll check you and the spooks in the morning
Slept in...must be worse
:bigoops: Slept in...must be worse than I thought...no comment?
This time zone business is
This time zone business is confusing I now feel as though I've been up all night
So do I!! You've done
So do I!!
You've done well Hugo...hope you had a good day.
My last act of the day then,
My last act of the day then, re the bullets ul#aimslist the ul needs to be given definition it's struggling, it will work fine if it has hasLayout triggered i.e dimensions applied or in this case position relative should ensure IE knows how to render the element along with the bullet images.
and on that note I shall be retiring for the night
Ick!! My apologies to anyone
Ick!! My apologies to anyone who had to view that on an LCD screen - saw it for the first time today...complete personality change to what I see at home and I'll definitely be fixing that over the next little while. Lollipop colours just don't do it for me - Bleh!
re the bullets ul#aimslist the ul needs to be given definition it's struggling,
I did wonder if it was the way I had gone about things, no-one else has complained of this that I've noticed?
it will work fine if it has hasLayout triggered i.e dimensions applied or in this case position relative should ensure IE knows how to render the element along with the bullet images.
Then I shall put position:relative back in then - but I wasn't aware a ul needed HasLayout :?
Now off to do my homework - dnload FireFTP and verify the site on Google...
I faded quickly last night
I faded quickly last night but all homework is now done!
Verified on Google and now a happy little Vegemite with FireFTP - much better when I can see what's going on!!!
I think we can mark this one [solved] please...at least my part of it...don't know about the poor OP
Hugo wrote:Download and
Download and install FireFTP for FireFox it's a decent little ftp client that you can run from 'tools' menu and is fast but lightweight and ok for basic work. Using the right hand graphical pane you should be able to select files and simply move them within your remote server folders or simply right lixk delete the files and re-upload them to the correct folder
I just want to thank you for this tip, Hugo. I've been struggling with Freehostia's c-panel for a month now, and you just solved my problems in a couple of sentences. Awesome.
Thanks heaps.