This is a discussion on "Spaces in HTML for a template" within the Web Page Design section. This forum, and the thread "Spaces in HTML for a template are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Spaces in HTML for a template
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
I currently run 2 business and am working on one of the sites which is a template site.
I would like to know how to incorporate spaces between 2 seperate pieces of text. - locate vehicles.......................................... .......Over 550 000 km of roads (have to use dots here as i get the same issue) I have two images side by side and need this text under them. trying traditional methods i.e. using normal spacing gives me this - locate vehiclesOver 550 000 km of roads What do i need to do or include? Thanks in advance for the assistance |
|
|
|
||||
|
Re: Spaces in HTML for a template
There are a few things toy could do here.
is a non-breaking space. A series of these will do the job but it is very messy and not desireable. Another way is to put it in a table and have a column between the two peices of text. The best way however is to make a class in CSS for that pariculat text element. for example
Last Blog Entry: Annoying people.... (Jan 16th, 2008)
|
|
|||
|
Re: Spaces in HTML for a template
As you have discovered, browsers only render the first space in a sequence of spaces and ignore the rest. There a number of possible approaches and it really depends on the amount of layout you have, how often you might need to change it and so forth. The easiest approach is to use what are known as non-breaking spaces instead of ordinary spaces. You do this be inserting the code total of six characters, for each space required. Another option might be have a div element as a container and then use span elements around the pieces of text with css used to specify one to align left and the other to align right. As I said horses for courses. Come back if you want more info. |
|
|||
|
Re: Spaces in HTML for a template
works for me guys, thankyou for your assist, have a look at this
www.tangent-distribution.co.uk |
|
||||
|
Re: Spaces in HTML for a template
Quote:
Last Blog Entry: Annoying people.... (Jan 16th, 2008)
|
|
|||
|
Re: Spaces in HTML for a template
to be honest, i don't even know what CSS stands for never mind how to use it lol
What I am trying to achieve is these images, side by side with a small space between them and the text aligned underneath Real Time Tracking Via Detailed Street Level Maps ................![]() - locate vehicles .............................................Over 550 000 km of roads - track real time full ..........................................street level coverage of - follow multiple vehicles ..........................................Great Britain - route your vehicles - export data to pda - add waypoints Last edited by necron_uk; Aug 9th, 2006 at 12:47. |
|
||||
|
Re: Spaces in HTML for a template
Quote:
http://www.w3schools.com/css/default.asp http://www.elated.com/tutorials/authoring/css/ I'll help you in the learning process any way I can, but what I won't do is hold your hand and do it all for you while you learn nothing. If I do that then when a similar problem arrises in the future, you're just as stuck. I'm not being an ass here I just want people to show some initiative. I'm sure other members share my sentiments and agree I am being hard but fair. Enjoy learning.
Last Blog Entry: Annoying people.... (Jan 16th, 2008)
|
|
||||
|
Re: Spaces in HTML for a template
Minute, you are so mean! You used to treat me badly and then I got bigger than you and pulled the underwear over your head! Muhaha!
But in all seriousness he has a point. This is a simple problem with a simple solution. We are more than willing to help you out, but it is good practice and etiquete to at least research a solution first. The way it sounds to me is you want basically two "Columns" one for each image and its text. [ image here ] [ Image Here ] [ foo foo foo ] [ foo foo foo ] This can be done with floats, lists etc..
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
Last edited by moojoo; Aug 9th, 2006 at 13:27. |
|
||||
|
Re: Spaces in HTML for a template
Quote:
Last Blog Entry: Annoying people.... (Jan 16th, 2008)
|
|
|||
|
Re: Spaces in HTML for a template
while i appreciate the need for people to learn new skills and techniques i am not a web developer and have no actual need for the full skill set. I am making adjustments to one of my business sites and this is purely a one off. I shall review the proposed links and tutelage when time permits but at this moment I am rather rushed, as I said I have 2 business to manage
Because this site is a template from a website company there is only so much i can actually do with it. If the need to do this kind of thing arises again I will at least have a working example to aid me. The has served my purpose at this time and I sincerely thank you for your assistance in this matter. I was following up on your suggestion of using CSS to see how it could be used by a leyman. Do i need to learn all css or can i do it with a few symbolly code words? Kindest Regards |
|
||||
|
Re: Spaces in HTML for a template
You don't need to know all of CSS for this, just the bits that pertain to your needs.
But if the site is from a template it could well be more trouble than it's worth. Get a cross section to look at it with the solution and if they can all see it ok then I would leave it. Templates can be a right slag to modify.
Last Blog Entry: Annoying people.... (Jan 16th, 2008)
|
![]() |
| Tags |
| spaces, html, template |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How do i make my PSD Template into a working HTML Page | homer09001 | Web Page Design | 23 | Aug 1st, 2007 01:23 |
| Need good HTML template service... | pdbuddy | Starting Out | 4 | Apr 7th, 2007 20:48 |
| Generating a CSS Template from HTML | dhochee | Web Page Design | 2 | Apr 3rd, 2007 18:06 |
| How do I Remove Template Tags from html? | sovereign6 | Web Page Design | 3 | Dec 8th, 2006 16:16 |