|
Few of them are:
1[^]
2[^]
3[^]
***** Programme comme si dept soutien technique. est plein de tueurs en série et ils savent adresse de votre domicile. *****
|
|
|
|
|
I've abandoned... Tables make it easily...
Thank you for reading the post!
Hello,
I'm trying to create a news page.
That news page consists of a div (with a grey line on top) that occupies the whole width of the page.
Inside that div there are two divs more: on the left the time/date and on the right the new title.
Note: the layout I'm searching for is like the one you can see here[^].
OLD POST
The code I'm using is:
for ()
{
echo('<div id="News">');
echo('<div id="NewsDate">');
echo(date('d/m/Y H:i:s',strtotime($strDate)));
echo('<br><br></div>');
echo('<div id="NewsTitle">');
echo($strTitle);
echo('</div>');
echo('</div>');
}
Inside my CSS I have:
#News{
margin: 30px;
text-align:justify;
}
#NewsDate{
position: relative;
width: 160px;
}
#NewsTitle{
position: relative;
left: 161px;
}
Could you please tell me what I'm doing wrong?
I've tried to search for tutorials in the Internet, probably today I'm too sleepy or something, but I'm not getting this...
Thank you in advance!
SOLUTION APPLIED
The solution has been to change the # for . in the css file and change id to class in the HTML and creating an outer div with a specified height.
Here I'm pasting the css changes I've made:
.News{
border-top: 1px solid #DBDBDB;
width: 760px;
position: relative;
height: 40px;
}
.NewsDate{
width: 140px;
position: absolute;
top: 10px;
left: 10px;
}
.NewsTitle{
width: 599px;
position: absolute;
top: 10px;
left: 141px;
height: auto;
}
NEW PROBLEM
If you take a look at the web page[^] you will see that there are news/rows in different heights.
I'm interested on getting that behavior. The problem that I can see here is that if I remove the "height: 40px;" content in the OuterDiv, then all the text is rendered in the same line...
Any Div foo that I should be aware of? Ideas are welcome... I can't even imagine how to search that in Google...
Thank you in advance...
|
|
|
|
|
This is not a direct answer to your question, but a couple of friendly hints.
1. w3schools[^] is an excellent source of reference material, tutorials and online tools ("suck it and see" stuff you can play with).
2. If you haven't already, get Firefox and the FireBug extension. Go to a page you like, right click on something, select "Inspect element" and the FB console will pop up. There you can see what the element source is in the html, and what CSS applies to it (and - real bonus) where the CSS actually is.
These two have saved me hours of grief and are in no small way responsible for the fact that I've still got some (not much!) hair left.
Good hunting,
Peter
[edit] added selection in right-click menu [/edit]
Software rusts. Simon Stephenson, ca 1994.
modified on Thursday, May 19, 2011 3:22 AM
|
|
|
|
|
Peter_in_2780 wrote: Firefox and the FireBug extension.
This is also built in to Google Chrome.
The best things in life are not things.
|
|
|
|
|
Got that too. If you do any web dev, you need a multitude of browsers. Just that FF is my weapon of choice, probably for historical reasons. But the Chrome inspector (or whatever it's called) is neat.
Cheers,
Peter
Software rusts. Simon Stephenson, ca 1994.
|
|
|
|
|
I have a website www.alayam.com and i want to know where are they hosting it? i tried the whois service it doesn't say anything about the host! I also tried to ping and got this IP 174.142.122.94 but when I checked the IP owner i couldn't find any details?
so how can I get such info?
|
|
|
|
|
Did you try asking them[^]?
The best things in life are not things.
|
|
|
|
|
Canada, Montreal, Quebec.
I could probably narrow it down more and accurately but it would in fact be easier for you to just contact them.
|
|
|
|
|
i know it's easier to contact them but that's the thing i don't want... i wanted to get from the technical point view...
|
|
|
|
|
Do a tracert on the address. If you're lucky, the names of the servers/hops will give a clue to their location.
|
|
|
|
|
If you do a Whois you can get the information on the domain of the user who owns the domain as it public.
This should give the address.
It will show either the server there on or the place were they bought the domain from as registrar too.
------------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
CCC Link[ ^]
Trolls[ ^]
|
|
|
|
|
|
|
I am working to set up a version of my website for mobile users. The current site has only a few pages which will rarely change, so I am thinking to create a parallel site with XHTML that is very light weight (few images, no scripting and designed to need minimal CSS.) I have a few questions, though.
I design on a dev machine, so I cannot just use my phone to view the site as I work. Any suggestions for device emulators that can be run on a Windows 7 PC for testing various screen sizes and interfaces?
I know that mobile devices come in a very wide arrange of sizes. Any suggestions on the range of screen sizes I should test to accomodate the largest number of common phones?
I have found arguments for using automatic selection of site via the user agent string, or for allowing the user to manually select which version of the site, or allowing both (making the first selection based on the user agent, then having links that let the user switch to the other version.) Would anyone like to comment on which method is considered best?
Are there any other thoughts people could share about designing mobile websites? Pitfalls, tricks, must-haves?
Thanks for the feedback.
|
|
|
|
|
This is feature which you need to migrate through different screen sizes.
You should put your desired screen size width in beetween head element with relation to their css file.
<link rel="stylesheet" type="text/css" media="(device-width:1280px)" href="styles.css">
What are wonderful world !
|
|
|
|
|
You don't need anything special to test the pages. Mobile browsers will work similar to normal PC browsers. You could use Firefox or IE to test, in IE you can set a custom browser resolution using the Developer Tools (included in IE8&IE9). This setting is found by hitting F12 in the browser and applying resize (Tools -> Resize -> Custom).
Common resolutions on mobile devices are:
- 480x800 (default Android 1.5 - 2.2)
- 540x960 (newer Android phones 2.3.3)
- 640x960 (iPhone4)
Keep in mind to make your design in such a way that the width of the resolution is scalable. That way it will work with all resolutions.
|
|
|
|
|
have you tried a dedicated host? can you please share which one is good? specially with the features and tech support? well, I am talking here about Windows dedicated host so ASP.NET is must but I am also looking to have mySQL instead of SQL Server
|
|
|
|
|
You are trying to find info in the wrong location. Try Servers & Hosting of the forum instead.
|
|
|
|
|
Hi,
I have question plz...
read this for a cloud plan on rackspace and they said there is no fixed amount bewcause it's pay as you use:
RAM : 2,048MB
Disk : 80GB
Hourly : 10.4p
Estimated Monthly : £79.04
Bandwidth Pricing
Bandwidth In : 5p / GB
Bandwidth Out : 12p / GB
can anyone tell me what's the 10.4p 9 (Hourly) for? is it the minimum or maximum? or what?
|
|
|
|
|
The 10.4p is the server rental cost per hour so the pricing is based on an estimate server usage per month.
e.g. 30Days x 24hrs x £0.104/hr = £74.88, they are probably also estimating an amount of bandwidth in and out to take upto the 79.04. However i cannot see this quoted on the site though.
(i did notice on the US site there is a 730hr/month estimate, and although not shown on the UK site, a $100 flat rate account fee/month!
|
|
|
|
|
It may be just a crazy idea, but, have you thought of asking them?
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
how does the redirect.aspx or the goto.aspx (in microsoft.com links) works? is it referring to a number in a databasethen checking what link is there inside the table record?
|
|
|
|
|
That would be a reasonable guess.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
I am planning to develop a blog website. I want to know how to upload and save the media files such as photoz and videos similar to what Facebook or Youtube do it? is it better to save as binary file on the ftp folder or a blob in my database?
please discuss....
|
|
|
|
|
There are pros and cons to each method, one is not better than the other. It all depends on your usage and needs. Storing and serving files from disk will be faster but will require more maintenance. Using a database is slower since the files most be accessed first but is easier for backup and load balancing.
I know the language. I've read a book. - _Madmatt
|
|
|
|