Jump to content
xisto Community

SinisterMinisterX

Members
  • Content Count

    6
  • Joined

  • Last visited

Everything posted by SinisterMinisterX

  1. I'd highly recommending using overture's CSS suggestion. I have found occasional unexpected behavior in IE with border="0" in a HTML image tag. I wish I still had the code to post here, but I once found a situation where border="0" messed up my table layout for no apparent reason. Also, doesn't 'text-decoration: none' take the underlining off of your links? If so, I highly recommend against doing this. Web users have become used to links being underlined; going against this convention may confuse your users or cause them to miss some links.
  2. Sleek look. Great advertising. Trusted manufacturer. And it was one of the first brands to offer substantial storage space.Myself, I have a Creative Nomad Zen Xtra with 40 gigs of space. It's as good as an iPod, but cost over $100 less.
  3. Suicide, I tried your code and I don't see what's wrong with it. It looked fine to me. (Aside from some strange color choices, but that's just my opinion. ) Could you be more specific about how the top cell looks "off"?Perhaps it's a browser-related issue. I looked at your code with IE 6, just for the record.
  4. Select tags are responsive to CSS. I'd suggest creating classes in your stylesheet and then using something like:<select name="lang" class="lang">A bit of net research I just did suggests that the borders and arrows in a select box will not respond to CSS. However, background color, fonts etc. will (or at least should).
  5. Suicide, if I understand your post correctly, you have the first two rows with one cell each, and the third with 3 cells. In order to make this work, you need to include ' colspan="3" ' in the <td> tag in your first two rows. If your fourth row is also one cell that contains a nested table, you need the colspan in that <td> as well. Something like: <td colspan="3"><table>...</table></td> Regarding the spacing of images in your third row: Try setting the widths of your three cells explicitly, like <td width="260">. If this isn't enough, try using the margin or padding properties of CSS to position the images within the cell. For example, say you want your image to appear at the right side of a cell, but 15 pixels from the right edge: <td align="right" style="padding-right: 15px"> If I misunderstood your original post and the above doesn't help ... sorry! Perhaps you could give us the url of the broken page so we can see the source; that would make it easier to help. Best of luck with your project, SinisterMinisterX
  6. Whenever possible, using CSS as zarjay suggested is the way to go. But in the interest of full disclosure, there are two other ways to do it... 1. <font> tags. I know a lot of people dislike these, but they can still be appropriate for those rare occurences when you want to alter one word in the middle of a sentence for some reason. More details on its usage here. 2. <span> tags. With these, you can use CSS styles: <span style="font: italic bold 12pt verdana, arial, sans-serif; color: blue">Foobar</span>I'd personally recommend these instead of font tags.
  7. There is no way (that I know) to 'call' a template page from another HTML page. In order to do this, you have to use PHP or similar server-side processing. But here's what I would suggest: Create your 'template' file in such a way that all the content which changes from page to page is localized in a few areas. Indicate the location of the content with HTML comments. Save this file on your hard drive as 'template.html'. It might look something like this (a snippet from one of my own templates): <td class="main"><!-- CONTENT GOES HERE --></td> All the primary content for the page will always go in that one table cell. When I want to create a new page, I bring up template.html and replace the comment with my content, then save the new file under a different name (preserving the original template file). The upside is that once your template is created, you can concentrate on creating content and not have to worry about page layout anymore. The downside is that all your HTML code still resides in each and every page; if you want to make a global change to your layout, you have to edit every single page. Like I said above, you really need PHP to get the effect you're seeking. If your host supports PHP (like Xisto), this is simple. In this example, I'm assuming that all your HTML above and below the content never changes. Open your template.html file. Take all your HTML from above the content area, cut and paste it into a new file, and save the new file as 'header.php'. Take all the HTML from below the content area, cut and paste into another new file, and save it as 'footer.php'. Create a new file called 'template.php' which looks like this: <?php include "header.php" ?>PAGE BODY GOES HERE<?php include "footer.php" ?> Upload header.php and footer.php to your web space, but leave template.php on your hard drive. As before, replace 'PAGE BODY GOES HERE' with your actual content, save under a new filename, and upload your new page to your web space.This second method will allow you to make global changes to your layout easily. Any change to header.php or footer.php will instantly be included in all your content pages without changing each page manually. Just remember that every page has to be saved with a .php extension, not .html . Aside from this minor usage of PHP, you'll still be using HTML for everything else. Hope that helps, SinisterMinisterX
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.