|
<div class="rightbody">
<br />
<span class="centertext">Bellcross Homes - Quality Homes Built To The Highest Standards</span>
</div>
The div class="rightbody" just identifies the div in which I wish to place the content, and the span class="centertext" is set to text-align:centre;
So why is the span not putting the content in the center?
------------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
|
|
|
|
|
Since you Brits lost control of the language, did you check the spelling of center ?
CQ de W5ALT
Walt Fair, Jr., P. E.
Comport Computing
Specializing in Technical Engineering Software
|
|
|
|
|
Span is an inline element - you can't centre (yes, I mean center ) something within a line. Change it to a div, or use display: block; to turn it into a block element.
|
|
|
|
|
It was late, and my brain was being inefficient.
About 5 minutes after going to bed I suddenly realised where I went wrong.
Sorted Now.
------------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
|
|
|
|
|
I know you already figured out your issue, but I just wanted to say that if you want to IDentify a div, you should give it an ID not a class.
|
|
|
|
|
I am creating a navigation bar, basically a simple one, where each item is direct link to another page.
However, for one of the selections I want a drop down list with selectable links, akin to the Quick Answers tab at the top of this page.
I know it will be a jscript and a call to it in the header, with the function in the body, but I must admit defeat.
Anyone got any good links or is there a CP article that I have missed?
------------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
|
|
|
|
|
Navigation just uses CSS for these tags < ul > < li > and nested < ul > < li > with the relevant id= and class=
Just download the CSS and inspect it http://s.codeproject.com/App_Themes/Std/CSS/CodeProject.css[^] and compare it to the id= and class= you see sprinkled throughout the webpage source code.
No javascript needed. However, server-side script required to process this /script/Articles/Latest.aspx?at=6 But as your web hosts server is a Linux box with PHP that ASPX stuff won't work.
modified 1-Aug-19 21:02pm.
|
|
|
|
|
Thanks Richard.
Although, this is on a different server that does have aspx capability (different company within the group, different host and historically a PITA, but I have to work with what I got.)
------------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
|
|
|
|
|
Hi I have the following code for my ASP page its working fine, but I dont know how to use 'include' in VBSCRIPT.
Any help would appreciate.Thanks in advance.
<%@ LANGUAGE="vbscript" %>
<!-- Include="XXXXXX.tlb" -->
<%
set obj=Server.CreateObject("XXXXXX.Class1")
Response.write obj.GetSubsidiaryValue ("7XY")
%>
How can I convert this code in vbscript?
|
|
|
|
|
Hello Friends
i am creating applet tht uses java3d libraries.So,now in html page how can I know tht java3d is installed in client machine or not?If not then I want to dispaly the message to redirect to tht url where is available.
I found one Object tag regarding that but I hv no idea how to use it in html with applet.
Any Ideas?
Regards
Yogesh
|
|
|
|
|
Any Ideas guys??can u tell me any idea for any other Library If it is not installed?
Regards
Yogesh
|
|
|
|
|
Hi,
I am designing a small personal website in my spare-time. Back in the old days I remember web designers would make sure that the color palette was 'web-safe'. Is this still applicable today? Do you guys still do this?
I mean... I am certain that most of the monitors today can display more than 8-bit colors...
Best Wishes,
-David Delaune
|
|
|
|
|
Web-safe colours are, AFAIK, ancient history. They died about the time CSS was a gleam in someone's eye. Am I showing my age here?
Software rusts. Simon Stephenson, ca 1994.
|
|
|
|
|
Hi,
Thanks! thats exactly what I was thinking. I believe it is a matter of statistics... where a decade ago it was more common to have visitors with 8 bit color depth.
According to this:
Browser Display Statistics[^]
It appears that browsers with a color depth of 256 is less than 1%.
Best Wishes,
-David Delaune
|
|
|
|
|
Dear Friend's
My Issue Scenario is ...
I have one business dll in which i handle the business process, i use this dll for one web based application. after that i install that on application server it's work fine but when i update that dll i need to reinstall the web application which is time consuming process for myself as well as to my client...
Is there any way to handle this as i know about patch update if this is the solution please give me any good help.
Thanks in advanced.
Sasmi
|
|
|
|
|
the vbscript above is very useful in determining the application pool context of a w3wp.exe, which is the aim of my question.
thank you in advance.
----------------------------------------------------------
Lorem ipsum dolor sit amet.
|
|
|
|
|
It's replaced with %windir%\system32\inetsrv\appcmd.exe for IIS 7
Cheers
I don't like my signature at all
|
|
|
|
|
Hi,
I have an index.php that takes a $_GET variable, "action", like this:
index.php?action=someContent
And based on the value of "action" I include some php in some div in the body.
The problem is that if I have some logic in those included contents, and they need to redirect the user (using header("..")), they can't because of
"Warning: Cannot modify header information - headers already sent by"
So.. I either need
1. A way to redirect without header
2. or a way to create a layout more efficient than that
|
|
|
|
|
You can only write headers from PHP before you output anything else. If you can rearrange your PHP code so that the first thing you actually write is the header, it'll all work.
Gotcha to watch out for: any whitespace before the <?php tag counts as output!
Software rusts. Simon Stephenson, ca 1994.
|
|
|
|
|
Thanks for replying
Though, I know that, that's why i'm asking for a better way of doing layouts.. so that I dont have the content's logic after heads, body, etc tags
Ps. ob_start() and ob_flush() worked for me.. but its not a very elegant solution
|
|
|
|
|
I have a requirement to embed a map onto a webpage.
I don't want a link to googlemaps, I want a small block as part of the webpage, floated left so that I can put text to the right of it.
I have googled and found nothing that can achieve this easily.
There is an option using google maps, but it requires sign up and info, I wish to just have this without all the fuss.
Any pointers?
------------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
|
|
|
|
|
Turned out to be a lot easier than I thought, just had to google harder!
------------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
|
|
|
|
|
Hi,
I am using an external css file in my webpage which contains classes defined at control type level.
for eg:
INPUT
{
font-size: 12px;
font-family: arial,verdana;
background: #ffffff;
border: 1px solid Gray;
}
This class gets applied for each and every input control over my page. What i want is some checkboxes on my form should not inherit this class( which it actually does by default) and have there default style. I cant change the external file, so the changes that i should make are in my file itself. Does any body here knows how do i achieve it???
When you fail to plan, you are planning to fail.
|
|
|
|
|
In our Intranet environment (IIS 6.0), we need to be able to start SQLServer agent jobs on remote servers on demand.
We have an option that works, sort of, but leave much to be desired.
Does anyone have a working environment they would care to share?
Available options here include regular ASP and ASP.NET.
Thanks in advance,
Tim
|
|
|
|
|
I think the easiest way to do this is to write a stored procedure which calls msdb..sp_start_job to start the job. You can easily call this sp from asp.net.
Wout Louwers
|
|
|
|