Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Cannot get right hand border aligned correctly

  1. #1
    Join Date
    Jan 2006
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Cannot get right hand border aligned correctly

    I am having problems with getting a right hand side border positioned correctly. What l would like is for the dotted line to touch the navbar and the bottom of the content section of the page.
    If you see the following screenshot you will see what l am trying to achieve. The red line indicates what l am trying to do.
    I would really appreciate any help as this is proving to be very difficult what l am trying to acheive.

    http://clubamigos.port5.com/screenshot_firefox_view.jpg

    http://clubamigos.port5.com/screenshot_IE_view.jpg

  2. #2
    Join Date
    Jun 2005
    Location
    UK
    Posts
    26
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Lightbulb

    Hi, my name is Robert, and I would like to help you as another beginner of this forum.

    Try putting more <br>'s at the bottom, as such:

    <br><br><br>

    It might help but I don't know as I can't see the whole thing. Otherwise you might want to try using this CSS property on the table cell:

    <td style="border-right:1px dotted black;"> ... </td>

    ... Although I suppose you are already using this property.

    I was trying to do the same thing before, as shown on this page: http://uk.geocities.com/robcboff/windows_system.html, there is a grey line all the way down the page in the centre. The style property I have mentioned above is how I got it to work.

    You might also want to consider the <td valign=top> attribute, which will align everything to the top of a cell. Then just put more <br>'s in there. The only reason for this happening would be if the cell to the left of it was overflowing the size of the one you are trying to solve, in which case the valign might help you.

    Please tell me how it goes!

  3. #3
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    You might also want to consider the <td valign=top> attribute
    Robert: a hint: never use HTML when there's perfectly good CSS available
    Code:
    vertical-align: top;
    Internet Explorer RULES!!! Down with Firefox!!!
    Well, I've heard the latter part of that a few times, but the former is a new one on me What do you suggest to those people with operating systems for which Microsoft hasn't released a version of Internet Explorer?
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  4. #4
    Join Date
    Jun 2005
    Location
    UK
    Posts
    26
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation

    a hint: never use HTML when there's perfectly good CSS available
    Well, actually, the attribute valign has less bytes than CSS. Sort of, unless using the <style> tag. I also thought that it was much better to use HTML tags in all cases (wherever possible) rather than CSS.

    What do you suggest to those people with operating systems for which Microsoft hasn't released a version of Internet Explorer?
    I personally didn't know that there were not any Windows OS's without Internet Explorer - seeing that "everyone" has Windows XP now (I know very few people with an older OS) then I assumed that every Windows has IE on it. I don't have much experience with businesses so I don't know what they would use - I am aware that some Windows OSs are specially built for business use (e.g. Windows Server 2000 ???).

    But I suppose that if Windows does not have IE, then Firefox would be an alternative, as it is better than Netscape, Deepnet or Opera (apparently).

    Can you please tell me which Windows versions do not have IE?

    However, I am sure that all users can download Internet Explorer from the Windows Update website...

  5. #5
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    I also thought that it was much better to use HTML tags in all cases (wherever possible) rather than CSS.
    Quite the opposite: the purpose of CSS is to seperate the content of the page from the way that content is styled and shown, thus giving pages a better design and making them more easily maintainable. Soon the HTML attributes that have been deprecated by CSS will be removed from the standard - most of them already have been from XHTML.
    However, I am sure that all users can download Internet Explorer from the Windows Update website...
    Apparently, I need to be running Windows to get Windows Update. Sheesh... how stingy of Microsoft.
    seeing that "everyone" has Windows XP now (I know very few people with an older OS)
    I have a newer OS, but I still can't get Internet Explorer.
    Can you please tell me which Windows versions do not have IE?
    Anything before '95, insofar as I'm aware.
    I personally didn't know that there were not any Windows OS's without Internet Explorer
    There probably aren't, worth mentioning. But I'm sure I didn't so much as use the word "Windows" in my post. What made you think I was talking about it?
    Firefox would be an alternative, as it is better than Netscape, Deepnet or Opera (apparently).
    That's a matter of opinion. The only thing you will find most serious web developers and even a lot of serious users agree on is that IE is inferior to just about anything, and doesn't even adhere to the W3C standards that Microsoft has a say in.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  6. #6
    Join Date
    Jun 2005
    Location
    UK
    Posts
    26
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    the purpose of CSS is to seperate the content of the page from the way that content is styled and shown, thus giving pages a better design and making them more easily maintainable. Soon the HTML attributes that have been deprecated by CSS will be removed from the standard
    Yes, I suppose, hence it can all be done just from the head, but still, <b> is much easier than font-weight:bold; and class="b" at minimum.

    Anything before '95, insofar as I'm aware.
    Why would anyone want an OS earlier than '95? It would be highly dangerous connecting one of them to the Internet, and you probably wouldn't get Firefox or any other browser on them anyway (there are more than likely incompatible).

    But I'm sure I didn't so much as use the word "Windows" in my post. What made you think I was talking about it?
    You said 'Microsoft' and 'Internet Explorer'. As far as I am aware, Microsoft no longer supports IE for other OSs such as Macintosh. And... all of the Microsoft OSs are called Windows so, they can only have IE on them.

    The only thing you will find most serious web developers and even a lot of serious users agree on is that IE is inferior to just about anything, and doesn't even adhere to the W3C standards that Microsoft has a say in.
    I think my review on Firefox will settle everything (http://uk.geocities.com/robcboff/firefox_review.html). There's no point in continuing this debate on this thread, it would be better to solve the problem and purpose of this thread. Internet Explorer beat Firefox in terms of security anyway, according to Symantec's security report for Jan-June 2005. And I am a serious Internet user myself, even computer user, and I still think that IE is better, in terms of everything. My review had tackled a lot of 'feature' resolutions. Sorry to boast, I just get very frustrated by some of the simple things.
    Last edited by robertcathles; 02-17-2006 at 09:06 PM.

  7. #7
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Why would anyone want an OS earlier than '95?
    Hence its not being worth mentioning.
    It would be highly dangerous connecting one of them to the Internet
    I could say "so what's changed?" here, but I'm going to resist the urge.
    You said 'Microsoft' and 'Internet Explorer'. As far as I am aware, Microsoft no longer supports IE for other OSs such as Macintosh.
    I said "operating systems for which Microsoft hasn't released IE"
    Yes, I suppose, hence it can all be done just from the head, but still, <b> is much easier than font-weight:bold; and class="b" at minimum.
    Easier in the short term, perhaps; not so easy in the long term. Besides, you can use selectors to apply font-weight:bold; to something else, like a <span> or <p>, without even having to use a class.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  8. #8
    Join Date
    Jun 2005
    Location
    UK
    Posts
    26
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I said "operating systems for which Microsoft hasn't released IE"
    continued... looking and reading a different way, as far as I know (at least until now), every OS has its own browser. Hence without a browser you would not be able to choose a different one in the first place (without having them as a seperate installation source).

    Easier in the short term, perhaps; not so easy in the long term. Besides, you can use selectors to apply font-weight:bold; to something else, like a <span> or <p>, without even having to use a class.
    True. But I like using tags like <span> for mutliple different attributes and properties, and do not want the same one for every <span>. However, I have recently found out that both the tag name and class can counter this, but it does require more thought. When writing the code in, it is easier, at least for me to just leave the code, as I don't do much maintenance on my pages. I make them perfect first time round and never have to edit them again (providing I still like them) - but I can understand how businesses might require this organisation.

    Thank you for your advice, anyway

  9. #9
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    continued... looking and reading a different way, as far as I know (at least until now), every OS has its own browser. Hence without a browser you would not be able to choose a different one in the first place (without having them as a seperate installation source).
    Not so. I believe Windows is the only operating system to tie its browser in -- although I don't know exactly what the relationship between Mac OS and Safari is, as I don't own a Mac. If you install anything else -- Linux, BSD, Windows pre-95, even DOS -- there are/were a wide variety of browsers to choose from, and none of them obligatory.
    I make them perfect first time round and never have to edit them again (providing I still like them)
    Until the standard changes, and the doctype you used becomes obsolete, and you realize that to keep your pages viewable you're going to have to write them from scratch
    Thank you for your advice, anyway
    Any time
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  10. #10
    Join Date
    Jun 2005
    Location
    UK
    Posts
    26
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I believe Windows is the only operating system to tie its browser in
    I didn't know that, sorry.

    Until the standard changes, and the doctype you used becomes obsolete, and you realize that to keep your pages viewable you're going to have to write them from scratch
    I don't like to keep up to the standards, its just a waste of time to me. My motto for making pages work when writing the HTML is that if it works in the most popular browser, then its fine. Basically I'm just too lazy to check it works in all browsers and to W3C's standards

    I do write my HTML pages from scratch. All I use is Notepad. And I don't see my pages or code being obsolete at the moment, so therefore I can still use them, and that is how I have managed to help so many people in my local community start learning HTML easily - with simple tags that do work for the majority. Thank you for notifying me of this, though, it does make me think

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •