Hello Folks,
I have been developing a website for a class project and have been stumped on aligning everything together. For example, the following site (developed by me) uses images which takes awhile to load.
Old Site: http://www.personal.ps u.edu/sbk142/handy.html
The new site I'm creating utilizes CSS and DIV tags. However, as you can see by the other link down below, the Latest News section is not aligned with the Mission Statement. Any ideas on how to resolve this?
New Site: http://www.personal.ps u.edu/sbk142/template_3_try_ 1.html
Thanks in advance,
WebDev22
4 1174
The problem is you are trying to line up the text with a fixed background image but the text box is wider than the image. The same, perhaps, is true of your navigation at the top. You shouldn't use or <br> to achieve spaces. That's what margin and padding are for.
Also, you aren't using a doctype. This puts IE into quirks mode and it won't pretend it's a normal browser. See the article about doctypes in Articles above.
drhowarddrfine,
I fixed up what you said regarding Doctype and using / <br> in my navigation bar. Thanks for shedding some light on margin and padding, two terms I had no background knowledge on.
One question though, I still don't understand what you meant about the text box and background image being disproportional to each other. I have tried to play around with the settings but to no avail. Any recommendations on how to fix it.
Site (updated): http://www.personal.ps u.edu/sbk142/template_3_try_ 1.html
Thanks,
WebDev22
What I'm saying is that the background image doesn't look like it's as wide as the box containing it while the text is free to go end to end right up to the edge of that same containing box. The two solutions would be to either create a new image, but that will forever fix how side you can make that box, or use CSS to do the same thing you now do with an image.
With CSS, you can create the same borders, including the gradient on top. I don't have time to go into it right now so google for gradient backgound, CSS and see what you get.
What I'm saying is that the background image doesn't look like it's as wide as the box containing it while the text is free to go end to end right up to the edge of that same containing box. The two solutions would be to either create a new image, but that will forever fix how side you can make that box, or use CSS to do the same thing you now do with an image.
With CSS, you can create the same borders, including the gradient on top. I don't have time to go into it right now so google for gradient backgound, CSS and see what you get.
Well, I fixed the problem. Just had to input a margin-right rule into the side border and CSS command. However, the new problem is whenever you switch between home and services, if you look closely, entire template shifts to the right.
Any ideas on this.
Site (update): http://www.personal.ps u.edu/sbk142/handy.html
Thanks,
WebDev22
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: js |
last post by:
I am using Visual Studio 2003. An IIS is installed on a separate box
with the Remote Debugger server component from VS2003. Initially, I
created a new blank project in VS2003 under the IIS's Default Website
then added all my old project's files into the new project. Then I
manually created a new website using IIS Management Console, assigned it
with port :800 and pointed its home directory to the directory where the
new project is...
|
by: jd |
last post by:
I am trying to setup a site using the Personal Website Starter Kit available
in VS2005, I can debug my site just fine in Visual Studio.
I am also running IIS and am able to connect to my new peronal website using
http://localhost.
I have used the "Copy Website" tool to copy me website to a location on my
harddrive.
I have then set the Default Web Site's homepage in IIS to be the location
|
by: stubbsie |
last post by:
Hi,
I have redesigned our official public government website in .net and it has
taken me a few months to redo. I have been the sole designer of the website
from its humble beginnning a few years ago when no one wanted to even mess
with it. Since then I have been steadily maintaining it and improving it. I
am about halfway done, and all of a sudden my supervisor won't let me make
the website in .net. Our programmers use .net to make web...
|
by: Tyler |
last post by:
I am developing an application which will allow me to automatically sign into
an external website. I can currently do a screen scrape using
HTTPWEBREQUEST. However I want to just redirect to the external site. No
need to pull back any data.
Here is the code I am using.
Dim encoding As ASCIIEncoding = New ASCIIEncoding
Dim myParams As String = "AccessID=" & sUserID & "&Password=" &
sPassword
|
by: cpnet |
last post by:
I'm using VS2005, C#, ASP.NET 2.0. I'm trying to create a report using SQL
Reporting Services (to be used in local mode so I don't have to deal with
SQL Server). When I create a new report in my website, nothing shows up in
the Website Data Sources window. I added a few different strongly-typed
Datasets to my website, and they don't show up. The only way I could get
anything to show up was to create a new class that's derived from a...
| |
by: =?Utf-8?B?Y2F0aGFyaW51cyB2YW4gZGVyIHdlcmY=?= |
last post by:
Hello,
I have build a website with approximately 30 html-pages.
When I search this website in Google, I see the index.html or home.html on
this website, but also other html-pages on this website.
When I click in Google on one of these pages (not index.html or home.html),
I am only linked to that one html-page and not to the website itself.
Does anyone know how to fix this. Is there for example a metatag?
Thanks
|
by: Atul |
last post by:
Hi
Theres a website that books hotels . user enters the information and
according to that results are displayed to the user.Let it be website
A.
Now I want to create a new project with designing page same as in
website A.
But wen user clicks on submit button on my website then the same
process occurs as is happening when user clicks submit button in
|
by: dogged |
last post by:
Website works locally but not when deployed
==================================
Can someone please help with what I hope is a common problem (I’m new to .net).
I have a simple website generated by Visual studio 2005 .NET
It has a custom handler because I need to poll my website and update the browser page every few seconds.
I have developed the project locally and everything is working FINE!
|
by: daveh551 |
last post by:
What, from a high level point of view, is the difference (in Visual
Studio 2005) between Website (accessed with Open Website or Create
Website from the StartPage) that is an ASP.NET Website, and a Project
that is created with the "ASP.NET Application" template?
I see some obvious differences: the Project creates the working folder
under the Visual Studio 2005\Projects directory, while the Website
creates it in the Inetpub\wwwroot...
|
by: Wayne Smith |
last post by:
Applies to: Visual Studio 2008 Professional
Hi everyone,
I'm in the middle of creating a website with VS2008 and I'm trying to integrate a user registration/login section on the website but I've come up against a small problem. I've configured the database and set up a test user through the ASP.NET Website Administration Tool (Website ASP.NET Configuration), I've created a user registration page and a user login page but when I try to...
|
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,...
| |
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...
|
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...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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();...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |