473,407 Members | 2,314 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

Website templates

I manage a website for a small gaming community that I purchased from a
hosting site that caters to gamers. Recently, they released some templates
to help us customize things a bit more.

What I have currently is a site with a banner/logo on top, and menus on the
right side, page content on the left. What I want to do is put the menus on
the left side and have the page content shift over accordingly.

If I change the layout.html and style.css to put the menu on the left, I can
do it easily by adjusting the absolute position and calling it "leftmenu"
instead of "rightmenu" - the problem is that the page content doesn't shift
over like I would expect it to. So I'm guessing that I'm missing something
somewhere in either the layout or stylesheet.

I'm not familiar with HTML or CSS at all, so it's been a trial and error
process so far. Can someone give me some pointers or link a tutorial that
would be help for this kind of thing? I can post my layout and stylesheet
as well, if needed. So frustrated right now.

-I
Aug 22 '07 #1
4 2008
Ieyasu wrote:
I manage a website for a small gaming community that I purchased from a
hosting site that caters to gamers. Recently, they released some templates
to help us customize things a bit more.

What I have currently is a site with a banner/logo on top, and menus on the
right side, page content on the left. What I want to do is put the menus on
the left side and have the page content shift over accordingly.

If I change the layout.html and style.css to put the menu on the left, I can
do it easily by adjusting the absolute position
Oh, Lord.
and calling it "leftmenu" instead of "rightmenu"
This is a fine example illustrating why class names should be
functional/content-based rather than positional. If the element had been
named "menu" in the first place, you would only need to change its
declarations in the CSS. Possibly the markup could remain untouched.

- the problem is that the page content doesn't shift
over like I would expect it to. So I'm guessing that I'm missing something
somewhere in either the layout or stylesheet.
Speaking of guessing. And missing something. How about providing a URL?
>
I'm not familiar with HTML or CSS at all, so it's been a trial and error
process so far. Can someone give me some pointers or link a tutorial that
would be help for this kind of thing?
I really like the tutorial for CSS at Selectutorial:
http://css.maxdesign.com.au/selectutorial/

http://www.html.net/ has tutorials for both HTML and CSS.

A site that gets mentioned regularly around here is HTML Dog:
http://www.htmldog.com/guides/

But if you're as unfamiliar as you say you are with both HTML and CSS,
you might be better off getting somebody else (professional,
experienced, both) to help you, especially if you have a large project.
Learning this stuff takes time (which you may not have), and as a
beginner you probably ought to steer away from changing templates with
absolute positioning.
I can post my layout and stylesheet as well, if needed. So frustrated right now.
If you post anything, make it a URL to your page/template. We'll be able
to see the code with that. Maybe somebody can help.

--
John
Pondering the value of the UIP: http://blinkynet.net/comp/uip5.html
Aug 23 '07 #2

"John Hosking" <Jo**@DELETE.Hosking.name.INVALIDwrote in message
news:46**********@news.bluewin.ch...
This is a fine example illustrating why class names should be
functional/content-based rather than positional. If the element had been
named "menu" in the first place, you would only need to change its
declarations in the CSS. Possibly the markup could remain untouched.
Can you explain what you mean by this? Are you referring to using margins
or padding or cellspacing for tables?
Speaking of guessing. And missing something. How about providing a URL?
http://www.archonsofluden.org/

But if you're as unfamiliar as you say you are with both HTML and CSS, you
might be better off getting somebody else (professional, experienced,
both) to help you, especially if you have a large project. Learning this
stuff takes time (which you may not have), and as a beginner you probably
ought to steer away from changing templates with absolute positioning.
Thanks for all the links, I'll have to do some reading up tomorrow. I have
a lot of time on my hands and am willing to learn, but don't know any people
willing to help. I only want to make some slight modifications to the
positioning of things right now, the rest is fine with me.
Aug 23 '07 #3
In article <Ly***************@newsfe12.lga>,
"Ieyasu" <ni*******@hotmail.comwrote:
"John Hosking" <Jo**@DELETE.Hosking.name.INVALIDwrote in message
news:46**********@news.bluewin.ch...
This is a fine example illustrating why class names should be
functional/content-based rather than positional. If the element had been
named "menu" in the first place, you would only need to change its
declarations in the CSS. Possibly the markup could remain untouched.

Can you explain what you mean by this?
JH is way past his bedtime. Let someone more youthful help you.
It means that if you call something by a class or id of "left"
and you want to make it go right, it requires a double change on
paper (name and css) and/or more memory in the brain being taken
up by having to understand that something called "left" can be on
the right. "Little John" in the story of Robin Hood was a joke.
There is no room for jokes in html/css. It is serious business.

I do hope this has helped you.

--
dorayme
Aug 23 '07 #4
Ieyasu wrote:
"John Hosking" wrote in message news:46**********@news.bluewin.ch...
>This is a fine example illustrating why class names should be
functional/content-based rather than positional. If the element had been
named "menu" in the first place, you would only need to change its
declarations in the CSS. Possibly the markup could remain untouched.

Can you explain what you mean by this? Are you referring to using margins
or padding or cellspacing for tables?
No, I'm referring to using CSS for positioning. If the markup has
discrete elements which may be positioned (relatively) freely, then CSS
can be used to specify the desired positioning. Using tables for layout
all but makes that impossible.
>
>Speaking of guessing. And missing something. How about providing a URL?
http://www.archonsofluden.org/
Thanks! I see that you are using tables for layout, and a lot of
(broken) JavaScript to generate the tables. Ick.

I also see 62 errors in the markup (starting with a lack of doctype) and
20 errors in the CSS. I would be astounded if you, "not familiar with
HTML or CSS at all," would ever manage to get the page flipped successfully.

In addition, I get:
Warning: The stylesheet http://archonsofluden.dkpsystem.com/tscss.php
was loaded as CSS even though its MIME type, "text/html", is not "text/css".

The first JS error comes at page load, before I even start hovering or
clicking (after which they really start piling up):
Error: missing ) after argument list
Source File: http://archonsofluden.dkpsystem.com/news.php
Line: 431, Column: 83
Source Code:
var password=window.prompt('Enter the teamspeak server password for
Archons of Lu'den', '');

You snipped the part of my post where I hinted that I or somebody else
might be able to help, but it's just as well. The only help I can give
you is to suggest that, since you're trying to rework the page anyway,
it might be the right time to redesign it from scratch.

HTH... GL

--
John
Pondering the value of the UIP: http://blinkynet.net/comp/uip5.html
Aug 23 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Mike | last post by:
I'm not sure what to call what I want, but I will describe my intent, hoping that someone will offer a resource for a ready-built solution. I sell construction products to a group of about 50...
2
by: David | last post by:
SUMMARY: If you don't want to read all of this, what I'm looking for more or less is ideas on how to implement websites using ASP.NET that have a templated look and feel and many pages that make...
5
by: ALI-R | last post by:
I'm going to make my own website ,but I'm not very good at design.I just wondered how some people have exactly same pattern for all the pages in their website ,I mean the right,left,bottom and top...
1
by: rmunson8 | last post by:
Using the Beta of VS 2005, I'd like to create a website that will be deployed on a server that has .Net 1.1. I understand how to modify the IIS web site properties to run on .Net 1.1, and I have...
4
by: Rene | last post by:
Anybody knows if there is a place where I can download website templates done using Visual Studio 2005? I ma not looking for anything fancy just your general layout such as navigation bar header...
0
by: onlyfreetemplates | last post by:
Premium website templates for small business free Cool website templates for small business free Free website template downloads! 1000+ directory of website templates Don't pay money for...
2
by: ronneilan | last post by:
I have just bought a small website written with php & html. The vendors advised me that once I uploaded it to my website I could customise all the templates to give it whatever look I wanted. As...
2
by: ChrisW | last post by:
I am thinking of putting up a website and so I am looking for templates. Basically I have VS 2005 and kinda know how to use ASP.NET and C#. What I think I want is something easy to create menus....
0
by: wheretheicegrows | last post by:
Is there some way to change the default location for new websites in Visual Studio 2008. It seems one can change the "Visual Studio projects location", the "Visual Studio user project templates...
1
by: lds | last post by:
I have Visual Studio 2005 Professional Edition installed with Service Pack 1. I have several solutions and projects that I have migrated from Visual Studio 2003 to 2005. In most cases the changes...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.