473,729 Members | 2,170 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2029
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.Ho sking.name.INVA LIDwrote 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.lg a>,
"Ieyasu" <ni*******@hotm ail.comwrote:
"John Hosking" <Jo**@DELETE.Ho sking.name.INVA LIDwrote 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
2078
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 subcontractors. Some of them have their own websites, but many do not. I want to offer my clients a central site that can host sub-sites, one for each client. All will be under my domain: my-domain.com/customer1 my-domain.com/customer2 etc.
2
1949
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 use of a template design. Hi- I'm new to ASP.NET and have been working for about 2 weeks on learning ASP.NET but it all still seems very murky to me. I've programmed sites in PHP and MySQL and also done programming in C++ and Java but I
5
1561
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 panes remain exactly the same and only the middle information is changed based on the page users go to. Is there some kind of business templates or something which I can customize and embed my ASP.NET codes into it? Thanks for yuor help. ...
1
1582
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 also edited the web.config to add the 1.1 system assemblies to the <system.web> <compilation> <assemblies> node so that it compiles against 1.1. But what I don't understand is how to tell VS 2005 that I am creating a web site that will run against...
4
6323
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 space and a place to write content. The reason for this is because I would like to have a website develped using VS 2005 but I am too busy right now dealing with Win Forms and don't have time to mess around with aspx. As time goes by and I...
0
1249
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 website templates. You can get FREE templates to build your website. We have a database of over 1000 website templates you can choose from and use for FREE. Just customize it and your ready
2
1454
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 a novice, I had no idea how difficult this would be - due to the fact that a php website is very disjointed. Can anyone tell me of any software I can download that will enable me to manage my website so that I can see the structure in it easily...
2
18248
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. You know, so that there is a menu down the bottom that changes the menu options up on top. And the same menu is on every page (like maybe a template.) Can anyone recommend a good website template with a good menu bar? I dont mind paying as long...
0
1344
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 location", the "Visual Studio user item templates location", and these all are configured from "Tools / Options / Projects and Solutions / General". None of these settings though seems to influence the default "New Website" location. So can I...
1
1609
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 I had to make were small and when the web projects were converted it told me to select convert to web application, which I have done. This one application that I have migrated asks me to convert to a "web site project" every time I open the...
0
8911
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8760
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9426
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9200
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8140
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6015
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4525
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4795
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2162
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.