drfarzad 0 Light Poster

Even you have that space in IE too. I have checked in IE6.0. May be it will comes within the red image or below image. Also check with the table paddings.

padding is 0 . any body can help ?

drfarzad 0 Light Poster

it dosn't solve this issue . i need the best solution

drfarzad 0 Light Poster

i have a new class for my footer texts in style.css and my page is www.ariahost.net/index2.htm . now in firefox my text align "left" is working fine but in IE it's on center . what should i do ?


example : <li><a href="http://www.ariahost.net/linuxhosting.htm" class="footer">هاست لینوکس معمولی</a></li>
<li><a href="http://www.ariahost.net/windows.htm" class="footer">هاست ویندوز معمولی</a></li>
<li><a href="http://www.ariahost.net/highlinux.htm" class="footer">هاست لینوکس پر حجم</a></li>
<li><a href="http://www.ariahost.net/highwindows.htm" class="footer">هاست ویندوز پرحجم</a></li>
<li><a href="http://www.ariahost.net/ssl.htm" class="footer">SSL گواهینامه</a></li>

my footer class on style.css is :
a.footer {
color: black;
text-align:left;
}

a:hover.footer {
color: black;
text-align:left;

drfarzad 0 Light Poster

at the top our website we have a purple header
it working fine in IE but in firefox we have 1cm space between header and menu .
you check this issue on attachment file .
Thanks if you help me to solve this issue
ariahost.net/index2.htm

drfarzad 0 Light Poster

Your code says this.

<p align="center"><a href="http://www.ariahost.net/news.htm"> اخبار </a>- <a href="http://www.ariahost.net/aboutus.htm">درباره ما</a> - سوالات متداول -<a href="http://www.ariahost.net/support.htm"> پشتيباني</a> - <a href="http://www.ariahost.net/contactus">تماس با ما</a> -<a href="http://www.ariahost.net/map.htm"> نقشه سايت </a><br>
تمامي حقوق اين سايت براي شركت آريا هاست محفوظ است . © 1382 - 1389<br>

Copyright © 2003 - 2010 AriaHost.net , All rights reserved. Design By AriaHost Design Department </p>

So naturally it is centered.

But PLEASE try to use css and not inline styles! Such as
#footer p {text-align:center;}

sorry , my mean was top of the footer

example : <li><a href="http://www.ariahost.net/linuxhosting.htm" class="footer">هاست لینوکس معمولی</a></li>
<li><a href="http://www.ariahost.net/windows.htm" class="footer">هاست ویندوز معمولی</a></li>
<li><a href="http://www.ariahost.net/highlinux.htm" class="footer">هاست لینوکس پر حجم</a></li>
<li><a href="http://www.ariahost.net/highwindows.htm" class="footer">هاست ویندوز پرحجم</a></li>
<li><a href="http://www.ariahost.net/ssl.htm" class="footer">SSL گواهینامه</a></li>

my footer class on style.css is :
a.footer {
color: black;
text-align:left;
}

a:hover.footer {
color: black;
text-align:left;


ps our price is in $ is less than 10$
And as for using tables!!! Your footer area is nested five tables deep! Using tables for layout is from a previous century.

PS Do you really charge $11,000 a year for hosting a 50MB site? Sure you don't mean $11.00

drfarzad 0 Light Poster

centered in IE8 IE7 Opera FF
? what problem

i need left align in both IE and Firefox

drfarzad 0 Light Poster

i have a new class for my footer texts in style.css and my page is www.ariahost.net . now in firefox my text align "left" is working fine but in IE it's on center . what should i do ?

drfarzad 0 Light Poster

it dosn't work on IE yet ...

drfarzad 0 Light Poster

I'm using css menu in top of my page and i see menu is behind the image slider on IE but it working fine with firefox .
also my menu and footer text aligen is left on firefox but it's middle and top on IE . and i want in both of them left aligen like firefox .

ariahost.net/index2.htm

drfarzad 0 Light Poster

Hi every body
at the ariahost.net/index2.htm my css menu is under the image slider . how can i fix it ?

drfarzad 0 Light Poster

how can we create css form like this : iranhost.com
all of parts and icon are in many boxes .

drfarzad 0 Light Poster

The z-index determines the stack order on the page. Increase the z-index in your menu and your problem should be fixed.

For example, if your menu is in a a div called menu, add this:

#menu
{
z-index:1000;
}

That is CSS code, so it goes in your stylesheet.

If it does not fix it, please paste a link to your page.

of course i didn't edit style.css and just working on index file . tanx if you edit or help me
http://nooriccco.com/index2.htm
http://nooriccco.com/index2.htm/style.css

drfarzad 0 Light Poster

i have add your code but still dose not work . i really confuse

drfarzad 0 Light Poster

i found some topic about this issue but they can't solve my problem .

i have CSS menu with .swf file and this is code of flash

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="768" height="300; ">
                          <param name="movie" value="slideshow2.swf">
                          <param name="quality" value="high">
                          <param name=wmode value="transparent">
                           <DIV ID="flashMovie" STYLE="position: absolute; top: 10; left: 10; width: 550; height: 400; z-index: 1;">
                          <embed src="slideshow2.swf" wmode="transparent" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="768" height="300"></embed>
                         </DIV></object>
drfarzad 0 Light Poster

everyone in this ticket just want to increase their posts and all of them are like spams and abuse , just reply me the perfect solution !

drfarzad 0 Light Poster

first program resolved ...
on second and third and fourth i have still problem yet .
of course i used Antenka guide but it dose not resolve
any body have idea ?

drfarzad 0 Light Poster

i have some amature questions . please help me .

1-in this program i need Average of 3 numbers but it dose not work :

using System;
using System.Collections.Generic;
using System.Text;

namespace ConsoleApplication76
{
    class Program
    {
        static void Main(string[] args)
        {
            int x;
            int y;
            int m;
            float ave;
            Console.ReadLine();
            Console.ReadLine();
            Console.ReadLine();
            ave = x + y + m / 3;
            Console.WriteLine(ave);
            Console.ReadKey(true);


        }
    }
}

2-in this one , program must be ask me Radius of circle and then calculate Environment and Area of circle

using System;
using System.Collections.Generic;
using System.Text;

namespace ConsoleApplication76
{
    class Program
    {
        static void Main(string[] args)
        {
int r;
float area;
float pi;
Console.Writeline("enter radius circle");
environment=Conver.Toint32(Console.ReadLine(r));
area= p * r * r;
pi = 2 * p *r;
Console.Writeline(area,p);

3-this one must be aks me enter 5 numbers and then print them

using System;
using System.Collections.Generic;
using System.Text;

namespace ConsoleApplication77
{
    class Program
    {
        static void Main(string[] args)
        {
            int i;
            const int n = 5;
            Console.ReadLine();
            for (i = 0; i < n; i++) ;
                Console.WriteLine(i);
                Console.ReadKey(true);


        }
    }
}

4-and the last one must be ask me to sentence and then if they are equal must be print equal else it must be print unequal .

using System;
using System.Collections.Generic;
using System.Text;

namespace ConsoleApplication77
{
    class Program
    {
        static void Main(string[] args)
        {
            int i;
            const int n = 5;
            Console.ReadLine();
            for (i = 0; i < n; i++) ;
                Console.WriteLine(i);
                Console.ReadKey(true);


        }
    }
}
drfarzad 0 Light Poster

You can't run your code because there isn't a main method.

After looking up 2 web sites, you most likely won't find people to do your homework for you.

You need to slow down, and go learn about the C# language. Copying and pasting some program from somewhere and looking on the internet for people to do your homework isn't going to help you.

This is a very easy program also. Read just a bit about arrays and sorting and it's simple. :)

ok i'm accept with you too
but please believe me and i really need this program . i really need as critical and this is not my homework. please complete this program for me and in next time i will be work hard with c# . i'm amatur not professional

drfarzad 0 Light Poster

sorry for my discommodity

but i really can't run it

using System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleApplication54
{
struct salary
{
string name;
int age;
int ID;
int salary;
}
class program
{
public void human()
{
Console.WriteLine("enter your name");
name = Console.ReadLine();
Console.WriteLine("enter your age : ");
age = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("enter your ID:");
ID = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("enter your salary:");
salary = Convert.ToInt32(Console.ReadLine());
}
List<Human> Humans = new List<Human>();
void Add(Int16 humanID, string humanName, Int16 humanAge, float humanSalary)
{
Humans.Add(new Human(humanID, humanName, humanAge, humanSalary));
}
float GetMaxSalary()
{
float maxSalary = 0;
foreach (Human aHuman in Humans.ToArray())
{
if (aHuman.SALARY > maxSalary)
maxSalary = aHuman.SALARY;
}
return maxSalary;
}
float GetMinSalary()
{
float minSalary = GetMaxSalary();
foreach (Human aHuman in Humans.ToArray())
{
if (aHuman.SALARY < minSalary)
minSalary = aHuman.SALARY;
}
return minSalary;
}
float GetAverage()
{
float totalSalary = 0;
foreach (Human aHuman in Humans.ToArray())
{
totalSalary += aHuman.SALARY;
}
return totalSalary / Humans.Count;
}
}
struct Human
{
public Int16 ID;
public string NAME;
public Int16 AGE;
public float SALARY;
public Human(Int16 humanID, string humanName, Int16 humanAge, float humanSalary)
{
ID = humanID;
NAME = humanName;
AGE = humanAge;
SALARY = humanSalary;
}
}
}
drfarzad 0 Light Poster

can you please trace you first line ?
List<Human> Humans = new List<Human>();

drfarzad 0 Light Poster

Yes , i don't have 3.5 and it's 2
my visual studio is 2005 .

any way i can't run these codes yet ...

drfarzad 0 Light Poster

Concentrate on making a struct :

using System;
using System.Collections.Generic;
using System.Text;

namespace ConsoleApplication54
{
 
        struct salary
        {
        string name;
       int age;
        int ID;
        int salary;
    }
        public void staff ()
            {
            Console.WriteLine("enter your name");
            name = Console.ReadLine();
            Console.WriteLine("enter your age : ");
            age = Convert.ToInt32(Console.ReadLine());
            Console.WriteLine("enter your ID:");
            ID = Convert.ToInt32(Console.ReadLine());
            Console.WriteLine("enter your salary:");
            salary = Convert.ToInt32(Console.ReadLine());
        }

        class array
        {
            public int useff (string array )
            {
                string[] cArray = new string[3] { "Cha3123", "Cha1234", "Cha1243" };
                Array.Sort(cArray, StringComparer);
                foreach (string s in cArray)
                {
                    Console.WriteLine(s);
                }
                Console.ReadLine();
            }
            static int StringComparer(object a, object b)
            {
                int stra = Convert.ToInt32((a as string).Remove(0, 3));
                int strb = Convert.ToInt32((b as string).Remove(0, 3));
                return stra - strb;
            }

        }
        class Program
        {
            static void Main(string[] args)
            {

                Salary m1 = new Salary();




            }
        }
    }

}
drfarzad 0 Light Poster

No, it sorted the numbers as you told it to - or at least it did when I ran it.

i want to it show me the max and min salary and the sort number after i gave it to program not the character are in the this line

string[] cArray = new string[3] { "Cha3123", "Cha1234", "Cha1243" };

------------
using System;
using System.Collections.Generic;
using System.Text;

namespace ConsoleApplication54
{
struct Salary
{

public string name;
public int age;
public int ID;
private int salary;
public void Staff()
{
Console.WriteLine("enter your name");
name = Console.ReadLine();
Console.WriteLine("enter your age : ");
age = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("enter your ID:");
ID = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("enter your salary:");
salary = Convert.ToInt32(Console.ReadLine());
}

class Program
{
static void Main(string[] args)
{
string[] cArray = new string[3] { "Cha3123", "Cha1234", "Cha1243" };
Array.Sort(cArray, StringComparer);
foreach (string s in cArray)
{
Console.WriteLine(s);
}
Console.ReadLine();
}
static int StringComparer(object a, object b)
{
int stra = Convert.ToInt32((a as string).Remove(0, 3));
int strb = Convert.ToInt32((b as string).Remove(0, 3));
return stra - strb;
}
}
}
}

drfarzad 0 Light Poster

this is my confused program and it dose not as well . it sort some of character from min to max but i want to it sort my salary after the program gives me the salary number

using System;
using System.Collections.Generic;
using System.Text;

namespace ConsoleApplication54
{
    struct human
    {

        public string name;
        public int age;
        public int ID;
        private int salary;
        public void Staff()
        {
            Console.WriteLine("enter your name");
            name = Console.ReadLine();
            Console.WriteLine("enter your age : ");
            age = Convert.ToInt32(Console.ReadLine());
            Console.WriteLine("enter your ID:");
            ID = Convert.ToInt32(Console.ReadLine());
            Console.WriteLine("enter your salary:");
            salary = Convert.ToInt32(Console.ReadLine());
        }



        class Program
        {
            static void Main(string[] args)
            {
                string[] cArray = new string[5] { "Cha3123", "Cha1234", "Cha1243", "Cha34", "Cha53" };
                Array.Sort(cArray, StringComparer);
                foreach (string s in cArray)
                {
                    Console.WriteLine(s);
                }
                Console.ReadLine();
            }
            static int StringComparer(object a, object b)
            {
                int stra = Convert.ToInt32((a as string).Remove(0, 3));
                int strb = Convert.ToInt32((b as string).Remove(0, 3));
                return stra - strb;
            }
        }
    }
}
drfarzad 0 Light Poster

can you please complete this issue for me ?

drfarzad 0 Light Poster

i need a program than can be ask user : name , age , id , and salary
then shows me the maximum salary and minimum salary

and then sort salary from maximum to minimum .

please complete these program for me

public string name;a
        public int age;
        public bool ID;
        private int salary;
        public void Staff()
        {
            Console.WriteLine("enter your name");
            name = Console.ReadLine();
            Console.WriteLine("enter your age : ");
            age = Convert.ToInt32(Console.ReadLine());
            Console.WriteLine("enter your ID:");
            ID = Console.ReadLine();
            Console.WriteLine("enter your salary:");
            income = Convert.ToInt32(Console.ReadLine());

}